And this how it works :
- Open Command Prompt. Don't run it as administrator because it has to run on current account or you will not see it in explorer.
-
For example : subst R: "E:\Program Files"
For example :
You want to subst "Program Files" folder with path "E:\New Folder\Program Files",
you can make batch file and write in this command : Subst R: "Program Files" and place the batch file inside the "New Folder" .
NOTE:
A. Remember! You can't use existing drive letters for creating virtual drives, e.g. if you have 2 partitions C: and D:, then you can't use them for subst command.
B. If your folder path contains spaces, put the whole path in double-quotes ("").
C. You should not use chkdsk, diskcomp, diskcopy, format, label and recover commands on virtual drives created using subst command as these virtual drives are not real and these commands either will not work or can cause problems for the actual drives where the folders reside.
D. If you can't run an application on Subst drive then change the following registry key :
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System
Key: EnableLUA , change value data from 1 to 0. Then reboot to take effect of the registry change.
E. If you want to delete the subst drive, reboot the pc or type this command :
subst drive_letter: /D
for example : subst R: /D
No comments:
Post a Comment