How to Map Local Folders as Drives in Windows 11
Have you ever wanted to turn a specific folder into its own drive letter? Windows allows users to map network folders as a drive. By using a simple trick, you can map a local folder to look like a separate hard drive in Windows 11.
We previously showed you how to mount an external or internal drive in a folder rather than a drive letter. This method does the opposite by making a folder behave like a drive.
Why do this?
Mapping a folder as a drive makes it much easier to access deep file paths. Instead of clicking through many folders, you can just click your new drive letter to get there instantly.
What happens when done?
You will see a new drive letter in your File Explorer. Anything you save to this drive is actually stored in your original folder. It is a virtual shortcut that makes file management cleaner and faster.
How to map a local folder as a drive letter
First, pick the folder you want to turn into a drive. Follow these steps:
- Right-click on a blank area of your desktop.
- Select New, then Shortcut.

In the box that asks for a location, you will type the subst command. For example, if you want to turn the folder C:\Users\Username\Documents\Supplies into the Z: drive, type this exactly:
subst Z: "C:\Users\Username\Documents\Supplies"
- Click Next.
- Give your shortcut a name and click Finish.

When you double-click this shortcut, a new Z drive will appear in File Explorer. This drive acts just like a real hard drive.

Make the drive start automatically
The drive will disappear when you restart your computer. To keep it active, you need to tell Windows to run your shortcut whenever you sign in.
- Right-click the shortcut you created on your desktop and select Copy.

- Press the Windows key + R on your keyboard to open the Run box.
- Type the command below and press Enter:
shell:startup

- This opens the Windows Startup folder in File Explorer. Note: This step may require admin privileges depending on your system settings.
- Paste your shortcut into this folder.

Now, every time you log in, Windows will automatically create your drive for you.
Summary
Mapping a folder as a drive is a great way to simplify your file organization. By using the subst command, you can assign a drive letter to any folder. Adding that shortcut to your startup folder ensures your virtual drive is ready to use every time you turn on your computer.
How do I map a local folder as a drive in Windows 11?
What is the 'subst' command in Windows?
Will the mapped drive remain after restarting my computer?
Can I use any drive letter when mapping a folder?
How do I access the Windows Startup folder?
Was this guide helpful?
[…] showed you how to mount a folder as a drive in Widows. You can use this method to rename the drive […]