Search This Blog

Create a Virtual Drive in Windows

Jul 27, 2013
This is a simple trick to create virtual drive in windows.

By using this trick, you can access your favorite folder as a drive in your computer. This trick make use of Ms.DOS in your computer.


If you are using XP/Vista or any other OS before Windows7:
  • Goto Start button
  • Click on Run
  • Type "cmd.exe" without quotes & press enter
  • Then on the black cmd.exe screen, type : 
subst A: E:\folder & hit enter
where,
 subst = command in DOS fro substitution

A: = is your desired drive. You can choose any drive that is not allocated.
E:\folder = is the path of your folder that you want to change as drive.


  • type "exit" to exit from Ms.DOS
Congratulations, you have successfully created a new drive. This drive is basically a shortcut, but the computer will treat it as any other drive. It is actually a virtual drive.

Uses?
  • If you have tried to install any old programs like QBASIC , C++ etc, you will notice that they require [A:] which is floppy drive. If you do not have floppy drive, you can mount the files in A: drive using this method.
  • You can fool your friends too, because the v.drive actually shows the space of your whole drive from where it is mounted. If it is mounted from a drive having 100GB space, the virtual drive will also show another 100GB. This is not REAL space. But your friend will never know.
How to delete a virtual drive?
  • Usually it deletes itself on restart. You can prevent this by making a batch file & keeping it in startup folder.
  • Manually, you can delete it by opening cmd.exe like before, and typing:
subst A: /d 
where,
subst = command
A: = The drive that you created.
/d = delete attribute.

Did you enjoy this post? Please drop a comment to let us know.

 COMMENTS: 

No comments:

Post a Comment