all repos — h3rald @ e02ff3e430e9640525c851204d425dbd2f79bcd9

The sources of https://h3rald.com

content/articles/tweaking-windows-explorer.textile

 1
 2
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
 100
 101
 102
 103
 104
 105
 106
 107
 108
 109
 110
 111
 112
 113
 114
 115
 116
 117
 118
 119
 120
 121
 122
 123
 124
 125
 126
 127
 128
 129
 130
 131
 132
 133
 134
 135
 136
 137
 138
 139
 140
 141
 142
 143
 144
 145
 146
 147
 148
 149
 150
 151
 152
 153
 154
 155
 156
 157
 158
 159
 160
 161
 162
 163
 164
 165
 166
 167
 168
 169
 170
 171
 172
 173
 174
 175
 176
 177
 178
 179
 180
 181
 182
 183
 184
 185
 186
 187
 188
 189
 190
 191
 192
 193
 194
 195
 196
 197
 198
 199
----- 
permalink: tweaking-windows-explorer
filters_pre: 
- redcloth
title: Tweaking Windows Explorer
date: 2007-06-29 11:28:00 +02:00
tags: 
- windows
- review
- software
type: article
-----
If you asked me what file manager I used on Windows, up to a month ago I'd have answered something like: "A43":http://www.primitus.us/a43/ or "CubicExplorer":http://www.cubicreality.com/, 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":http://lifehacker.com/software/featured-windows-download/add-tabs-to-windows-explorer-with-qt-tabbar-260926.php featured the QT TabBar shell extension by "Quizo":http://members.at.infoseek.co.jp/Quizo/freeware/indexEn.html. 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:

!/files/tweaked_explorer.jpg!

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

* "QT TabBar":http://members.at.infoseek.co.jp/Quizo/freeware/indexEn.html#qttab (Requires .NET framework 2.0)
* "QT Address Bar":http://members.at.infoseek.co.jp/Quizo/freeware/indexEn.html#qtadr (Requires .NET framework 2.0)
* "QU ToolBar 2":http://members.at.infoseek.co.jp/Quizo/freeware/indexEn.html#qtt2 (Requires .NET framework 2.0)
* "NTFS Link Shell Extension":http://schinagl.priv.at/nt/hardlinkshellext/hardlinkshellext.htm
* "FileMenu Tools":http://www.lopesoft.com/en/fmtools/info.htmlh3. 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.

!=/files/tabs.gif!

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:

!=/files/tabbar_general.gif! 

...and at least the Window options:

!=/files/tabbar_window.gif!

*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.

h3. 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:

# If necessary, enable the Standard Buttons toolbar by selecting _View > Toolbars > Standard Buttons_ from the Explorer menu.
# Select _View > Toolbars > Customize_ from the Explorer menu.
# Choose the buttons you want to display.

I picked the following:

!=/files/standard_explorer_buttons.gif!

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.

!>/files/tabbar_buttons.gif! 

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.

!</files/toolbar2.gif! 

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:

!=/files/toolbar2_search.gif!

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:

!=/files/toolbar2_apps.gif!

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:

!=/files/toolbar2_md5.gif!

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":windirstat.info but for the current folder only. It looks like this:

!=/files/toolbar2_folder.gif!

h3. Navigation Improvements

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

h4. Breadcrumbs

Vista offers a "Breadcrumb Bar":http://www.zdnet.com.au/insight/software/soa/Investigating-Windows-Vista-s-breadcrumb-bar-/0,139023769,139218189,00.htm, 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:

!=/files/address-bar1.gif! 

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

!=/files/address-bar2.gif! 

A nice thing to have.

h4. 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. 

h4. 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":http://schinagl.priv.at/nt/hardlinkshellext/hardlinkshellext.html#hardlinks. 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. 

!>/files/junction.gif!

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... ;-)

h3. 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.

!>/files/filemenu_tools.gif!

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!


h3. 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":http://www.7-zip.org/, "Notepad++":http://notepad-plus.sourceforge.net/uk/site.htm and "Cream":http://cream.sourceforge.net/ all add very useful context menus, and don't forget "TortoiseSVN":http://tortoisesvn.tigris.org/, if you are a Windows-based developers (yes, they do exist).