[How To] Access a Folder As a Drive using Command Prompt

In this tutorial we are going to learn the concept of access a folder as a drive in the PC with the help of command prompt. This will create the virtual disk in My Computer which will directly open the folder which you had changed.

  1. Type:  “subst S: G:\m1” (folder name)

Screenshot (9)


Here m1 is the name of the folder in the “ Drive G: ”

and hit Enter…

You can replace S: with your desired New Drive Letter (Except existing Drive letters)


  1. You can replace G:\m1 with the path of your favorite folder

This will create a new drive… When you open this, it will open your folder.


Screenshot (6)


NOTE: On Restart the Virtual Drive Disappears .

Stay Insane

Written by shivang bansal

“There's a fine line between genius and insanity. I have erased this line.”