BohemianBuddha

tool

FolderKit

languageC# / .NET Framework 4.8 (WinForms)
updated2026-10-28
downloadget it →

FolderKit

Right-click a folder, pick FolderKit, and you get a small menu of things Windows makes you work too hard for: mapping a drive letter to that folder, unblocking files you downloaded, giving the folder a title, or dumping its contents to a spreadsheet.

Why it exists

I first wrote this years ago as a classic shell extension — a .NET DLL loaded straight into Explorer, installed with a third-party registration tool and admin rights. It worked, but it was the wrong shape: any hiccup in the extension took Explorer (and the taskbar) down with it, and getting it onto a machine was a chore.

This is the 2026 rebuild. Same idea, different plumbing: FolderKit is now an ordinary EXE, and the right-click menu is just a few registry entries that launch it. Nothing loads inside Explorer, so it can't crash it, and it installs for the current user with a single click — no admin, no installer, no extra tools.

What it does

What "unblock" means

When you download a file — from a browser, an Outlook attachment, Teams — Windows quietly tags it as came from the internet. That tag is why Word opens it in Protected View, why macros are switched off, why help files open blank, and why you sometimes get "This file came from another computer and might be blocked."

The tag is a good safety net, but once you know a file is fine it's just in the way. Windows lets you clear it one file at a time (Properties → Unblock checkbox). FolderKit does a whole folder in one click.

Tip: unblock a ZIP before you extract it, and none of the extracted files get tagged in the first place. And of course — only unblock things you trust.

Under the hood

The "internet" tag is a hidden alternate data stream named Zone.Identifier attached to the file. Unblocking is literally deleting that stream — the same thing the Properties checkbox and PowerShell's Unblock-File do:

private static void TryRemoveMark(string fullPath, UnblockResult result)
{
    string stream = PathUtil.ToExtendedPath(fullPath) + ":Zone.Identifier";

    if (NativeMethods.DeleteFileW(stream)) { result.Unblocked++; return; }
    int err = Marshal.GetLastWin32Error();
    if (err == ERROR_FILE_NOT_FOUND || err == ERROR_PATH_NOT_FOUND) return; // wasn't blocked

    // read-only files refuse: clear the flag, retry, put it back
    ...
}

It goes through the Win32 DeleteFileW rather than .NET's File.Delete, because .NET Framework rejects any path containing a second :. The \\?\ prefix lets it reach past the old 260-character path limit, and "file not found" simply means there was no tag to remove.

The multi-select trick is the other fun part. Explorer launches a separate copy of the program for every selected file, so the first copy grabs a named mutex and listens on a named pipe; the rest hand over their file path and exit. One process does the work, one summary appears.

Install

  1. Put FolderKit.exe somewhere permanent, e.g. %LOCALAPPDATA%\Programs\FolderKit\
  2. Run it and click Add to Explorer menu (or run FolderKit.exe --install silently)
  3. Right-click any folder → FolderKit

On Windows 11 it lives under Show more options (or Shift + right-click). To remove it, click Remove from Explorer menu or run --uninstall.

Get it

The complete Visual Studio project — every source file, the project file, and a README with install notes. No NuGet packages and no third-party dependencies; open it in Visual Studio 2022 and build. Requires Windows 10 or 11 (.NET Framework 4.8 is already built in).

← back to tools