With Windows, you can easily specify a drive letter to a folder to create a logical drive. The folder will be considered by Windows and apps as a physical drive. There can be many reasons why you may like to mount a folder as a drive.
- Another way (out of many) to access a folder quickly.
- Some apps may need to access a specific drive, you can fool them.
- While creating a batch file, it will be easier to reference the folder and make changes later as well.
- It creates shorter file paths, depending on the directory name
In this tutorial, we are going to show you how you can mount a folder as a virtual drive using Windows and a third-party tool.
Method #1: Manually Mount a Folder as a Virtual Drive
In Windows this feature can be executed using the Subst command. You will have to create a shortcut in the Windows Startup folder to execute this command. To access the Windows Startup folder, you need to go to the following location:
C:\Users\<username>\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
Here “username” is the login username that you accessed at Windows startup. In our case, it is Administrator.
You can also access the folder directly by pasting the above mentioned directory location in Windows explorer search and replace “username” with your actual username.
Once in the startup folder, right click in a blank area and from the context menu, hover your mouse cursor over “New”. Now, from the side menu, click on “Shortcut” and a wizard will open up.
In the wizard, you will see a blank field where you are required to enter the location of the folder which you would like to mount as a drive. Here, type the following command:
subst X: “Location of your Folder”
You need to replace “Location of your Folder” with the actual location of the folder which you would like to mount as a drive (along with the quotes) and “X” with the letter of the drive that you would like to give to the folder. If you don’t know the location of the path of your required folder, just access the folder and copy the path mentioned at the top.
Paste the folder inside the quotes (like in the picture below) and click on Next. Give a name to the shortcut on the next step and click on Finish.
Now, you need to open the new shortcut to create the virtual drive. You will see a new drive next to all your other physical drives and opening it will open the specified folder.
The virtual drive will automatically load whenever you will restart your PC. If you would like to delete the drive, you will have to delete the shortcut that you created, and then restart the PC to take effect.
Method #2: Mount a Folder as Drive Using a Dedicated App
The above method works like a charm, but it can be a bit tedious task. Especially, when you have to restart your PC to get rid of the Virtual drive. Fortunately, there is an app for doing the same that can make the process a whole lot easier.
In this tutorial, we are going to use the app Visual Subst. It is a completely free tool and doesn’t require any kind of installation. Just go to the Official website and download the zipped file (78kb).
Extract the .zip file and run the application. In the interface, click on the drop down menu below and select the Drive letter which you would like to give to your virtual drive.
Now, click on the tiny magnifying glass icon on the bottom right corner of the window and select folder which you would like to mount as a drive.
Check the checkbox below, if you would like the PC to always mount the specified folder as drive whenever you startup. Now, simply click on the green “+” icon and the folder will be mounted and displayed.
If you would like to unmount the folder, just select the folder in the interface and click on the Red “X” icon to unmount it (no Restart required). It will be removed from the interface, and you will have to go through the same process again to add.
You can also mount multiple folders using this tool. Just repeat the process and select a new folder each time to mount it as a Virtual drive.
If you have any questions or would like to add another method to mount a folder as a drive, let us know in the comments below.
Filed in Windows.
. Read more about