Tweaking Windows Explorer

How to make the default Windows file manager suck less

If you asked me what file manager I used on Windows, up to a month ago I’d have answered something like: A43 or CubicExplorer, for sure anything but Windows Explorer.
Well, it turns out that I had to change my mind after all…

There’s a multitude of “Explorer Replacements” which aim to be more feature-rich, more user-friendly, less bloated than Bill’s favorite, and I indeed tried quite a few of them, mostly the free ones of course.

The only problem is that whenever I got close to choose “the one”, I noticed that there always was one or two features missing somewhere, which were present in another and vice versa. Additionally, to be totally honest, the level of integration with Windows and other applications was never complete.

These are a few stupid, silly things which tend to be lacking or at least are not 100% functioning — not in all the file managers I tried, but at least in some:

  • Environment variables integration — Alternative file managers normally are not able to parse Windows environment variables.
  • Icon overlays — Some file managers can’t render Subversion’s icon overlays.
  • Strange context menus — Sometimes right-clicking on a file or a directory may not open the standard Explorer context menu
  • Open Folder — Third-party application allowing you to open a folder, will always open it through Windows Explorer
  • auto complete address bar….
  • Special Folders — Some special folders (e.g. Control Panel) are now accessible using alternative file manager, but others may not (e.g. Network Connections). At any rate, typing “Control Panel” will not open the Control Panel in an alternative file manager.

What about trying to “patch” Windows Explorer instead of using another program altogether?

I never really thought of that until LifeHacker featured the QT TabBar shell extension by Quizo. That was my epiphany: I immediately thought I was going to “patch” Windows Explorer using a few really useful (and free, of course) Windows Shell Extensions.

Here’s my file manager now:

Yes, it is Windows Explorer, with just a few addons:

Explorer Tabs

For an instant gratification, download and install QT TabBar first, logoff and logon again for the changes to take effect (or install all the other extensions first, otherwise you’ll have to re-logon after installing nearly each one). As the name implies, this will add tabs to Windows Explorer, just the way you expect them to be: clean, stable and really smart.

After the installation, right-click anywhere in an existing window toolbar and enable the QT Tab Standard Buttons and voilá, a the tab bar will appear. You can click CTRL+N a few times to open new tabs. Take your time to position QT TabBar wherever is more convenient for you.

Whenever you’re ready, take your time to configure QT TabBar (right-click on it and choose “Options”) General options:

…and at least the Window options:

How do you create tabs? There are many different ways to do it, choose whatever is best for you:

  • CTRL+N keyboard shortcut
  • Drag and drop a folder or a shortcut on QT TabBar – Even from other applications!
  • Right click on an tab and choose “Clone this”

Other features? Sure, there’s plenty more, e.g.:

  • Single Instance — By enabling the appropriate option, you’ll only have a single instance of Windows explorer, everything will be opened in new tabs. A must.
  • Rearrange tabs — Tabs can be rearranged by dragging and dropping.
  • Lock/Unlock — Lock a tab (right-click > Lock) to avoid closing it accidentally.
  • Folder Memo — It is possible to set a “folder memo” for a specific folder, which can be visualized and edited afterwards (right-click > Memo for this folder).
  • Folder Password — Password-protect a particular tab (right-click > Set Password…).
  • Picture Preview — Preview image files simply by hovering on them with the mouse.
  • Groups — It is possible to group more tabs together by adding them to groups (right-click > Add to Group > [Group Name]) which can be configured via the QT TabBar option dialog.
  • Keyboard Shortcuts — Open the folder in which you unzipped QT TabBar and run QTShortcutKeyEditor.exe and enable as many as you like (they are too many to list hered), the possibilities are endless.

Customizing Toolbars

Windows Explorer allows users to choose the buttons which will be displayed in the Standar Buttons toolbar. To do so, proceed as follows:

  1. If necessary, enable the Standard Buttons toolbar by selecting View > Toolbars > Standard Buttons from the Explorer menu.
  2. Select View > Toolbars > Customize from the Explorer menu.
  3. Choose the buttons you want to display.

I picked the following:

i.e.: Up , Refresh, Search, Folders, History, Favorites, Undo, Delete, Cut, Copy, Paste, Properties, View, Map Drive and Disconnect. It’s really up to you what you choose really.
I placed this toolbar right under the menu, on the top-left side.

Right next to it I placed some of the buttons available for QT TabBar:

  • Groups — Load an existing tab group (configurable in the options)
  • Recently Closed — open recently-closed tabs
  • Applications — run custom applications (configurable in the options)
  • Close — Close current tab
  • Lock — Lock current tab
  • Topmost — Force explorer to stay on top of other windows

Then I decided to enable the Links Explorer toolbar, which can be configured to display bookarks and shortcuts placed in the Favorites > Links folder. As shortcuts, I dragged each drive available on my system and voilĂ : poor man’s Drive Toolbar! Unfortunately, unlike in the proper drive toolbars offered by alternative file managers, all drive shortcuts will remain there (with a red question mark) even when the drive is not connected to the system. I can live with that.

Right to the address bar (we’re going to substitute it in the next section though), I decided to place QT ToolBar 2, which is available – hear, hear – after installing the QT ToolVar 2 extension.
At first it looks like a search filter toolbar, and yes, it can be used for this as well. Just type .jpg in the search box and it will show only the JPG files in the current folder. Easy enough.

Of course there’s (much) more to it. A search helper is provided (click the little arrow pointing downwards at the end of the toolbar and select Search Helper) to perform more complex searches:

Additionally, ToolBar allows you to display a handy copy file name/path button and up to two buttons to access two applications you use frequently. To configure them select Option from the dropdown menu accessible at the end of the toolbar, and configure your applications like this:

I choose the Command Prompt and the A43 file manager. The cool thing is that you can enable the “arguments for user application” and the the file path (if a file is selected) or the folder path will be passed automatically to the application, so my A43 file manage will open in the current folder. If you want to have more than two custom applications at your fingertips, all you have to do is to configure as many as you like in the Options tab of QT TabBar, and they’ll become available via the Applications button.

Two little utilities can also be used through QT TabBar 2, MD5, which instantly calculates the MD5 checksum of the selected file:

and Folder Analyze, which finds out the size of the current folder and how it is distributed across folders and files. A bit like a little WinDirStat but for the current folder only. It looks like this:

Navigation Improvements

Is there any way to make navigation through folder easier in Windows Explorer? Yep, more than one:

Breadcrumbs

Vista offers a Breadcrumb Bar, and XP doesn’t. Quizo fixed it of course, with his QT Address Bar, which brings breadcrumbs navigation to Windows XP. Use it as an Explorer address bar replacement. By default breadcrumbs are displayed:

…allowing you to navigate through your folder three within submenus without changing the current directory. Clicking it toggles the standard path:

A nice thing to have.

Take back your Favorites!

I don’t use IE, I use Firefox, Opera, even Safari sometimes, but not IE unless I’m forced to do so. Hence I hardly ever used Internet Explorer’s Favorites, an I almost forgot about it, until I decided to begin tweaking Windows Explorer, and I (re-)discovered that Favorites are shared between the two… What’s that got to do with anything? Well, you can simply put Favorites to good use and use them to store only Windows Explorer folders.

Simple and effective: click the Favorites button in the toolbar, they’ll be loaded in a sidebar on the left, then simply drag a folder to QT TabBar and you’ll get there.

Wormholes, anyone?

Finally, NTFS Link Shell Extension does something totally different altogether: it can be used to create hardlinks (a bit like Unix symlinks, but for NTFS drives only) junctions and symbolic links (Vista only). For an explanation of what each object is, refer to the explanations provided on the shell extension homepage. For our purposes, we’ll just use junctions now:

bq.“[…] Junctions are wormholes in the tree structure of a directed graph. By browsing a Junction a maybe far distant location in the file system is made available. Modifying, Creating, Renaming and Deleting files within a junction tree structure operates at the junction target, i.e. if you delete a file in a Junction it is deleted at the original location. […]”

Consider the following example.

1) Create a directory called “Gateway” in C:\.
2) With NTFS Link Shell Extension installed, right-click a directory “far, far away”, on any of your NTFS drives, for example D:\My\Very\Long\Path\MyDirectory, and select “Pick Link Source”.
3) Go back in your Gateway folder, right-click and select “Drop As > Junction”. A folder with a small chain overlay will be created.
4) You will now be able to access all the contents in D:\My\Very\Long\Path\MyDirectory directly from C:\Gateway.

Important – No, creating a shortcut is not the same thing. the path C:\Gateway\MyDirectory is an actual valid path, i.e. you can use it to attach files to emails, and going up one level in C:\Gateway\MyDirectory will take you simply to C:\Gateway\, not to D:\My\Very\Long\Path\.

Both at home and at work, I use a “Gateway” folder containing junctions leading to commonly-accessed directories, and this speeds up navigations a lot. Just remember to delete junctions “properly” (right-click > Delete Junction), not like an ordinary directory… ;-)

De-cluttering the Context Menus

Right now our Windows Explorer interface has been streamlined, folder navigation is easier, but there’s still room for improvement. Where? Well, in the contex menus of course.
I spent ages trying to figure out an easy way to remove unnecessary or unwanted entries from the menus which appears on a right-click. Yes, they can be removed by fiddling with the Windows Registry, but that’s not exactly user-friendly, is it? Now there’s an easy alternative: FileMenu Tools.

This nifty little utility allows you to remove rubbish from your context menus and add new entries as well. Entries are grouped by file type and can be enabled or disabled with a single click. Unfortunately I was not able to disabe some of them, probably due to restriction on my computer at work.

Once the rubbish is gone, perhaps you can even evaluate the possibility to add some more. I chose to enable just Attributes and Advanced Renamer, but there are many more predefined commands (each with its own pretty icon) you can choose from:

  • Synchronize Folders
  • Extended Delete
  • Find And Replace
  • Delete Locked File
  • Delete and no move to Recycle Bin
  • Change Icon
  • Run with Arguments
  • Command Line From Here
  • Split/Join File
  • Copy/Move to…
  • Copy Name/PAth/Content
  • Change Time
  • Register/Unregister DLL
  • Create new folder

Something missing? Well, you can always create your own entry, if you like!

Conclusion

I think that’s enough for you to give Windows Explorer another shot — or at least it was enough for me anyway. Be aware that there are and hopefully there will be more Windows shell extensions able to do neat things: 7-Zip, Notepad++ and Cream all add very useful context menus, and don’t forget TortoiseSVN, if you are a Windows-based developers (yes, they do exist).