PC Tamer's Tips

Assigning a drive letter to local folders in Windows NT

Mapping network drives is commonplace, but what if you want to map to your own disk?

For example, you've probably found the desktop is a pretty handy place to drag files to and from, but only if your application allows dragging.

Unfortunately, a lot of programs don't permit dragging and dropping. Your only solution is to browse your hard drive until you find the location where you want to either retrieve or store a file.

A simple solution is to assign a spare drive letter to your desktop by using the "subst" command.

To automate assigning a drive letter to your desktop, create a batch file such as the one below, and put it in your start-up folder for your Windows NT profile.

rem This command assigns the K: drive to my desktop.
subst K: C:\WINNT\Profiles\user_name\desktop

(Replace user_name with the user name you're using to log in to Windows NT.)

Now when you need to browse to the desktop to select a file, you can select the K: drive. You can also use this technique to assign other spare drive letters to other folders on your hard drive.