Monday, March 03, 2008

Computers: Folder as Drive

Every computer user has his/her own tweaks and special widgets that help with the everyday work. My latest discovery was about creating a virtual drive on the computer that would be mapped to the folder on the same computer. Well, for example I would like to have drive X: pointing to My Documents all the time. Not too bad right? It appearts that it has been possible to do that since DOS times (and it still works on Vista). It is achieved via running the command:

Assign:
SUBST [DRIVE LETTER] [FOLDER PATH]
Remove:
SUBST [DRIVE LETTER] /D

For example to map a folder C:\temp to the drive W:

Assign:

SUBST w: C:\temp
Remove:
SUBST w: /D

[G]

1 comment:

Levon Levonian said...

Yes, the same idea is also used behind the Map Network Drive functionality.