In this post we are going know how to create a virtual drive (Virtual directory..!) in your computer. Which means, we are going to create our own drive (Z: , X: , S: Or something). That will look like a normal drives (Like C: , D:) in My Computer. So it will easy to access our folder.
Step 1 : Create a new folder in any drive. Example (E:/Wallpapers)
Step 2 : Open Command Prompt and type following command:
subst X: E:\Wallpapers
The above command will create X: Drive in your computer. Goto My Computer and check it.! When you open (Double Click) that drive that will open Wallpapers folder.
Syntax:
Syntax of the subset command is subst drive_letter: folder_path
You can't use existing drive letters (such as C: , D:) for creating virtual drives..
To Delete the existing virtual dirve
If you want to delete this virtual drive, then provide following command:
subst X: /D
X: indicates our virtual drive.
/D indicates the Delete command.
By the way it will not delete your folder. It just delete the virtual drive alone.
No comments:
Post a Comment