Home WINDOWS HOW-TO How to map a local folder as a drive letter in Windows 11

How to map a local folder as a drive letter in Windows 11

0
How to map a local folder as a drive letter in Windows 11

[ad_1]

If you want to map a local folder as a drive letter in Windows 11, here’s how you can do it. Such things can be done using the command line and a predefined command. This article explains the exact method along with the required command so that you can map any local folder to a drive letter in Windows 11 as well as Windows 10.

How to map a local folder as a drive letter in Windows 11

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

  1. Create the folder you want to map.
  2. Right click on it and select Copy as path .
  3. Right click start menu.
  4. Choose Windows Terminal (Admin) .
  5. Press Yes at the UAC prompt.
  6. Enter this command: subst drive letter: folder path

To learn more about these steps, keep reading.

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

Then you need to copy the folder path. Typically, you can find the path from Properties . However, Windows 11 allows users to do the same by right-clicking. context menu. So right click desired folder and choose Copy as path .

Then right-click the start menu and select Windows Terminal (Admin) . After that click on Yes at UAC prompt open Windows Terminal with administrator privilege.

After that, enter this command in the Command Prompt instance:

 subst drive-letter: folder-path 

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

 subst H: C:UsersSudipDesktopTWCdemo

How to map a local folder as a drive letter in Windows 11

You can check the assigned drive letter by typing subst at the command prompt.

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

 subst H: /D

Here H is the drive letter you set earlier.

How to map a drive to a specific letter?

To map a drive to a specific letter, you need to use Disk Management. This utility will help you change the drive letter on your Windows 11/10 PC without any third party apps. On the other hand, you can use the DISKPART command to do the same. Both options do the same thing.

Can I assign a drive letter to a folder?

While there is no option in Disk Management to assign a drive letter to a folder, you can use Command Prompt to do so. You can use subst to assign any drive letter to a folder. It is recommended to follow the above steps to get a detailed overview.

How to map a local folder as a drive letter in Windows 11

In this article, we explained how to map a local folder as a drive letter in Windows 11. Feel free to let us know if you have questions or comments about this article. Leave a comment below and useguide.net will reply as soon as possible.

[ad_2]

Source link

windows789.com

LEAVE A REPLY

Please enter your comment!
Please enter your name here