For instance, on my own system, I have a bunch of directories in the root of the D: drive that get accessed a great deal. But depending on what's going on at a given time, the real object(s) of attention may be folders several layers deep in the hierarchy.
One way to deal with this situation is to create shortcuts to the often used folders. But shortcuts are not always the most elegant solution—especially if you need to address the target items programmatically.
Another way to do it is to assign a drive letter to the path using the SUBST command. But managing such substitutions isn't always very elegant either. Worse, substitutions using SUBST aren't preserved automatically between user sessions unless you implement them in a script.
I recently came across a utility that addresses these issues in a straightforward, friendly way.
Two things make Visual Subst particularly attractive:
- It doesn't require use of the CLI.
- It includes the option of preserving the drive assignments between user sessions, via a checkbox labeled "Apply virtual drives on Windows startup." The list of files is saved into an .INI file that's kept in the same directory as the program.
However, the program has four limitations.
- It only runs in Windows 2000/XP or higher; Windows 9x support is not available.
- It doesn't appear to recognize different drive scenarios for different users; it only sets up one set of drive mappings for a given machine.
- Unicode directory mappings can be created, but they do not appear to be saved correctly in the .INI file.
- In Windows Vista, if you run the program in a given user mode (such as administrative mode vs. limited-user mode), the drive mappings created with the program are only visible to the command-line version of SUBST unless you run SUBST in the same user mode.
About the author: Serdar Yegulalp is editor of the Windows Insight, (formerly the Windows Power Users Newsletter), a blog site devoted to hints, tips, tricks and news for users and administrators of Windows NT, Windows 2000, Windows XP, Windows Server 2003 and Vista. He has more than 12 years of Windows experience under his belt, and contributes regularly to SearchWinComputing.com and SearchSQLServer.com.
More information on this topic:
- Tip: Utility audits user access to files and directories
- Topics: Desktop management tools
- RSS: Sign up for our RSS feed to receive expert advice every day.
This was first published in March 2007