P> SUBST is a command file widely used in the DOS era. Its function does not need to be repeated. From DOS to today's Windows XP era, we have gone through the Windows 3X/9x/ME/2000 series operating systems. The advantages of windows have long forgotten that we still have dos, can we still use it now?
SUBST can play the following roles at least in the Windows operating system:
1. Reduce the wait time for the hardware driver to be installed without the software drive system;
2. easy for users to manage common directories.
3. "spoofing"
Now let's take a look at how SUBST achieves this.
In Windows 9x/me, you only need to enter "msconfig" in the address bar of "start" and "run", and then click "OK" or press enter to bring up "System Configuration Utility ".
1. Click autoexec. bat, enter the "SUBST a: C: \ tools" Statement, click "OK", and restart. This step is used to automatically execute autoexec when the system starts. the command statement feature in bat virtualizes a software drive from a computer that does not have a software drive (such as a workstation in an Internet cafe). Double-click the software drive to bring up the tools directory of drive C, you can also copy and delete files. It also shortens the waiting time for the drive-free computer system to repeatedly search for drive a (a slow computer may take as much as one minute, so annoying !). Of course, in a computer with a soft drive, we 'd better change the drive letter A in the command line to drive letters such as E, F, and Z, without worrying about whether the virtual drive letter will conflict with the drive letter, the drive letter is usually automatically extended.
2. we can also use this command to quickly call frequently-used directories. For example, my articles are usually stored in the "D: \ manuscript" directory, after virtualizing a G disk in the "System Configuration Utility", I can easily manage the manuscript directory every time.
3. We will use the most typical example to explain the SUBST spoofing function: office97 requires an encrypted floppy disk during installation. A floppy disk may be damaged when used multiple times. We can copy the content of a floppy disk to a hard disk, for example, E: \ disk. Then, enter the following command line in the command prompt or start menu:
C: \ windows \ command \ SUBST a: e: \ Disk
In this way, you do not need to install the office on a floppy disk. This method is also suitable for users who do not have a hard drive computer or who urgently need a floppy disk but have no disk temporarily, you can use the SUBST command to hide a drive letter ).
Note: This command is also available in Windows/XP, but it should be noted that this command cannot Virtualize an existing driver drive letter. For example, if your computer has a soft drive with the drive letter A, you cannot use the SUBST virtual a disk.