To mount a folder as a drive in Windows 11, you oughta use the built-insubstcommand.

Thesubstcommand is mostly used for mounting drives on a file explorer.

Once unmounted, you better mount the folder as a drive again in Windows 11 manually.

New > Shortcut

Mount Folder as a Drive in Windows 11

1.

Right-tap on a blank space and selectNew > Shortcut.

Also, replaceC:\full_path_of_folder)with the path of the folder you want to mount as a drive.

Create Shortcut wizard

Once done, hit the Next button.

On the Name, the shortcut window,punch in a name for the shortcutand click theFinishbutton.

Now, you will see anew shortcut on your desktopscreen.

type a name for the shortcut

To mount your folder as a virtual drive, double-hit it.

If the folder is not mounted, right-choose the shortcut and selectRun as administrator.

If you want to unmount the virtual drive, power cycle your box.

new shortcut on your desktop

After the restart, you must rerun the shortcut file to mount your folder as a drive.

If you want to automate that task, run with this.

Right-tap on your desktop and selectNew > Text Document.

New > Text Document

Once done, punch the File menu in the Notepad and selectSave As.

On the Save as prompt, enter the file name with the.bat extension.

SelectAll filesand hit theSavebutton on the Save as key in.

copy and paste the code

Now press theWindows Key + Rbutton on your keyboard.

On the Run dialog box, typeshell:startupand press Enter.

This will kick off the Startup folder on your rig.

Save As

You need tocopy and paste the batch fileinto this folder.

Heres what it’s crucial that you do.

TypeTerminalon Windows 11 Search.

.bat extension

Next, right go for the Terminal and selectRun as administrator.

Replace the Full path of the folder with the actual folder path.

For example: subst G: C:\Users\Amarnath\Desktop\Techviral Images

3.

shell:startup

Open File Explorer and you will find the folder mounted as a drive.

10 Best Ways to Fix it

copy and paste the batch file

Run as administrator

execute this command

unmount the drive

Fix Restarting Instead of Shutting Down

Get Rid of ‘Insecure Download Blocked’ Warning on Chrome

WhatsApp Status Not Sending? 10 Best Ways to Fix it