Use drive letters for directories: Windows 2000, XP and Vista | Use drive letters for directories: Windows 95, 98, Me, NT | Home page
This page includes some basic techniques that can make life simpler for users of WPDOS under Windows. Additional items will be added in the future.
Windows, like DOS, lets you open any directory by using a drive letter of your choice (such as G: or W:), instead of the directory's actual name (which might be something like "C:\Documents and Settings\Roscoe\My Documents" or "D:\MyFiles\2005\Letters\ToMom"). Compared to long directory names, drive letters are much easier to type in WordPerfect's List Files screen, or anywhere else.
Under Windows 2000, XP, or Vista, the simplest way to assign drive letters to directories is to use Thomas Bigler's free Vsubst utility, which can set drive letters and directories for you. Be certain to choose the Permanent option so that the drive letters will be available when you restart Windows.
However, I strongly recommend a better method, which allows your drive letters to be used by many of Windows' inner workings, and produces smoother results. To use this method, start by downloading the Autoexnt Service files, originally from Microsoft's Windows 2000 Resource Kit. Download the files from the link in the preceding sentence; open the ZIP file and copy all the files to your \Windows\System32 directory. Then perform the following steps:
(1) Using a text editor such as Edit.com or Notepad, create a file named Autoexnt.bat in the same \Windows\System32 folder into which you copied the Autoexnt Service files. If you use Notepad, make sure to use quotation marks around the name "Autoexnt.bat" when saving the file, to prevent Notepad from adding the extension .TXT to the name. This file should contain lines that look something like this (replace the drive letters and folders with the ones you want to use, and replace username with your own login name):
subst.exe L: D:\Letters
subst.exe M: "C:\Documents and Settings\username\My Documents"
Warning: Only assign a drive letter to a folder with \username\ in its path if you are only person who will use this computer. The drive letter assignments that you make will be visible to anyone who uses any account on this computer, and your "My Documents" folder will be visible as a drive letter to other users - not their "My Documents" folder!
Use quotation marks around long folder names (a "long" name is one with more than eight letters in any part of the name, or with a space anywhere in the name). Save the file.
(2) Open a command prompt and navigate to your \Windows\System32 folder. Enter the following command at the prompt:
instexnt install
You should see a message saying that the service was created successfully.
(3) (Before performing this step, if you are not logged in on an administrative account, log in on an administrative account.) Open a command prompt (or stay at the one you opened in the preceding step), navigate to your \Windows\System32 folder, and enter the following command at the prompt:
net start autoexnt
Your assigned drive letters should now be available to WordPerfect and any other program.
(4) To be certain that the drive letters are assigned every time you start Windows, use the Start Menu, choose Run..., and enter services.msc and wait for the Services window to open. (Help! My Vista Start Menu does not have a Run... box!) Find AutoExNT listed under the Name column. Right-click on it (or press Shift-F10); choose Properties; on the General tab, make sure that the Startup Type is listed as Automatic.
Note: Unlike most Windows "services," this one uses no memory and will not slow your system; the service runs the AutoExNT.bat file and then exits.
Under Windows 95 and 98, the simplest way to assign a drive letter to a directory is to add the SUBST command to your C:\Autoexec.bat file. For example, if you have a directory named D:\Letters, you can access it as drive L: by adding the following command to your C:\Autoexec.bat file:
c:\windows\command\subst L: D:\Letters
If you want to assign a letter to a directory that has a long filename (one with more than eight characters in any part of the name, or with a space anywhere in the name), then you need to use the "short name" of the directory, which you can find by opening a DOS prompt (Help! How do I open or create a DOS prompt?), navigating to the directory above the one you want to use with the Subst command, and enter DIR; the short name of the directory will appear in the left-hand column. For example, "My Documents" will appear as "MYDOC~1", so the command in Autoexec.bat should look like this:
c:\windows\command\subst M: C:\MYDOC~1
You may add as many lines with the Subst command to Autoexec.bat as you like, but do not use drive letters already assigned to CD-ROM and other drives, and avoid using the letter Z:, which is often used by installation programs.
Alternatively, you can use Thomas Bigler's free Vsubst utility to set drive letters and directories for you. Be certain to choose the Permanent option so that the drive letters will be available when you restart Windows.
Under Windows Me, for each set of drive letter and directory name that you want to use, create a new shortcut (Help! What's a shortcut?) with a command line similar to the ones shown above and add it to your Startup program group in the Start Menu; on the program tab of the shortcut, under Run, choose Minimized. During startup, an Explorer window will open showing the contents of the directory; probably there is a way to prevent this from happening, but I haven't tried to find out what it might be.
Alternatively, you can use Thomas Bigler's free Vsubst utility to set drive letters and directories for you. Be certain to choose the Permanent option so that the drive letters will be available when you restart Windows.
Under Windows NT, for each set of drive letter and directory name that you want to use, create a new shortcut (Help! What's a shortcut?) with a command line similar to the ones shown above (but with the Subst.exe program listed as being in %windir%\system32\subst.exe) and add this shortcut to your Startup program group in the Start Menu (which you will find in a folder named something like C:\winnt\Profiles\username). On the program tab of the shortcut, under Run, choose Minimized.
Alternatively, you can use Thomas Bigler's free Vsubst utility to set drive letters and directories for you. Be certain to choose the Permanent option so that the drive letters will be available when you restart Windows.