Subst is being use to associate or substitutes folders as virtual drives. The command lets you access data easily and By functionality, its almost the same as http://maxyaquos.blogspot.com /2010/03/adding-virtual-folders-and-shortcuts-to.html" target="_blank">creating folders to computer window.
Lets try using the command by creating drive S: using the folder c:\files.
type “cmd” at Start search, and follow the command below
s: – virtual drive letter
files – folder that you want to associate (c:\files)
Afterwards, you’ll see the virtual drive instantly. Anyway, the problem with the command, when the computer restarts, all created virtual drives will be deleted automatically.
So, Let’s solve and try loading the commands before logging into windows.
Open your Notepad and write the command
subst s: c:\myfiles\videos subst x: c:\backup |
Use File > Save As and go to the following folder location
C:\Users\[username]\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
Make sure that you Click ALL Files (*.*) and write the filename
Great?!
To delete any virtual drive use the command SUBST Drive /d
e.g. Subst s: /d
Usage
C:\Users\mstouch>subst /? SUBST [drive1: [drive2:]path] SUBST drive1: /D drive1: Specifies a virtual drive to which you want to assign a path. [drive2:]path Specifies a physical drive and path you want to assign to a virtual drive. /D Deletes a substituted (virtual) drive. Type SUBST with no parameters to display a list of current virtual drives. C:\Users\mstouch> |
Thanks for reading the article!
0 komentar:
Posting Komentar