650) this.width=650; "Name=" image_operate_93491334854262485 "title=" Windows <wbr>-<wbr>subst Command usage and description " alt= "Windows <wbr>-<wbr>subst command use with description" src= "http://rescdn.qqmail.com/zh_CN/htmledition/images/ Function/qm_open/ico_mailme_01.png "/>
1. The path of the command program:
C:\WINDOWS\system32\subst.exe
2. Instructions for use:
C:\Documents and Settings\administrator>subst/?
Associates a path with a drive letter.
SUBST [drive1: [Drive2:]path]
SUBST drive1:/d
DRIVE1: Specifies the virtual drive to assign the path to.
[Drive2:]path Specifies the physical drive and the virtual drive to be assigned to the
Path.
/d Delete the replaced (virtual) drive.
Type SUBST without any parameters to display a list of the current virtual drives.
3. Examples of Use:
First, create a virtual drive that is assigned to the destination path:
C:\Documents and Settings\administrator>subst Z:f:\qqdownload
Then, list the virtual drive inventory:
C:\Documents and Settings\administrator>subst
Z:\: = F:\QQDownload
Finally, delete the virtual drive that was replaced:
C:\Documents and Settings\administrator>subst Z:/d
Reference:
There's a command in the system to do this.
The most common way is to use the subst command, because the general computer comes with such a program. Here is the help for the subst command:
SUBST [drive1: [Drive2:]path]
SUBST drive1:/d
DRIVE1: Specifies the virtual drive to assign the path to.
[Drive2:]path Specifies the physical drive and the path to be assigned to the virtual drive.]
/d Delete the replaced (virtual) drive.
Type SUBST without any parameters to display a list of the current virtual drives.
Did you see that? If you want to set the "ABC" folder on the C drive as a virtual hard disk, the virtual hard disk has a drive letter of z and you can enter it at the command prompt:
Subst Z:C:\ABC
At this time, you can open my computer to the new B-drive.
If you want to delete the Z-disk you just created, you can enter:
Subst Z:/d
WINDOWS-SUBST command to create a virtual disk