Friday, March 29, 2024
HomeWINDOWSHow to Map Local Folder as Drive with letter in Windows 11

How to Map Local Folder as Drive with letter in Windows 11

-


If you want to map a local folder as drive with letter in Windows 11, here is how you can do that. It is possible to do such things with the help of the Command Prompt and predefined command. This article explains the exact method along with the required command so that you can map any local folder with drive letter in Windows 11 as well as Windows 10.

How to Map Local Folder as Drive with letter in Windows 11

How to Map Local Folder as Drive with letter in Windows 11

To map local folder as drive with letter in Windows 11, follow these steps:

  1. Create a folder you want to map.
  2. Right-click on it and select the Copy as path option.
  3. Right-click on the Start Menu.
  4. Select Windows Terminal (Admin) option.
  5. Click on the Yes button in the UAC prompt.
  6. Enter this command: subst drive-letter: folder-path

To learn more about these steps, continue reading.

First, you need to create a folder or select a folder you want to map as drive with letter on your computer. You can create the folder anywhere, including C or the system drive.

Then, you need to copy the path of the folder. Generally, you can find the path from the Properties panel. However, Windows 11 allows users to do the same from the right-click context menu. Therefore, right-click on the desired folder and select the Copy as path option.

Then, right-click on the Start Menu and select the Windows Terminal (Admin) option. Following that, click on the Yes button in the UAC prompt to open Windows Terminal with administrator privilege.

Once done, enter this command in the Command Prompt instance:

subst drive-letter: folder-path

Let’s assume that you have a folder named TWCdemo on your Desktop. On the other hand, you need to replace the drive-letter with the desired and available drive letter. In other words, your command will look like this:

subst H: C:UsersSudipDesktopTWCdemo

How to Map Local Folder as Drive with letter in Windows 11

You can check the assigned drive letter by entering the subst command in the Command Prompt.

On the other hand, if you want to remove the mapping, you can enter this command:

subst H: /D

Here, is the drive letter you set earlier.

Read: How to map or add a Network Location or Map FTP Drive in Windows

How do I map a drive to a specific letter?

To map a drive to a specific letter, you need to use the Disk Management panel. This utility helps you change the drive letter in Windows 11/10 PC without any third-party app. On the other hand, you can use the DISKPART command to get the same thing done. Both options do the same thing.

Read: How to mount a Drive as Folder rather than Letter in Windows 11

Can I assign a drive letter to a folder?

That’s it! Hope it helped.

Read: How to map OneDrive as Network Drive in Windows.

How to Map Local Folder as Drive with letter in Windows 11



Source link

www.thewindowsclub.com

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular