Tip

Tool helps admins manage assigning drive letters to folders

Just about everyone who maintains a system, whether a server or simply their own desktop, has a host of directories in various places that get used a lot.

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.

Requires Free Membership to View

Visual Subst is essentially a GUI frontend for the SUBST command. It uses the exact same APIs as SUBST, so it functions more or less the same way. Nor does Visual Subst need installing—it runs wherever it happens to be residing. And it's a mere 55K.

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.

  1. It only runs in Windows 2000/XP or higher; Windows 9x support is not available.
  2. 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.
  3. Unicode directory mappings can be created, but they do not appear to be saved correctly in the .INI file.
  4. 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:

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

Disclaimer: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.