Friday, March 13, 2009

Create Virtual Drive in Windows by Mounting Directory

(Mar 13, 2009)

To create a virtual drive in Windows from a directory, we can use the Command Prompt in Windows and input

subst drive_letter: folder_path


For example, if we want to create a virtual z drive from a directory d:\temp, we can issue a command

subst z: d:\temp

To remove the virtual drive, we can use

subst drive_letter: /D

For example subst z: /D


//=================================

More details are available from http://www.askvg.com/create-a-virtual-drive-for-your-desired-folder-in-my-computer-using-subst-command/

No comments: