Thursday, 25 April 2013

Create a Virtual Drive Easily

You need only the Command Prompt or you can directly use the RUN window.
The command used to accomplish this task is subst

go to Run type cmd

subst driveletter: folderpath.

Here driveletter: is the drive letter u want to assign to your new drive and
FolderPath is the path you want to associate with your new virtual drive.

For Eg: subst L: g:\folder1

will create a drive L: and associates the folder g:\folder1 with it.


2)To Delete the Virtual Drive
To remove the Virtual drive use the following syntax.
subst /D
this will remove the Drive.

For eg: subst L: /D
will remove the virtual drive L:

No comments:

Post a Comment