How to Map a Folder to a Drive Letter on Windows: 11 Steps

Table of contents:

How to Map a Folder to a Drive Letter on Windows: 11 Steps
How to Map a Folder to a Drive Letter on Windows: 11 Steps

Video: How to Map a Folder to a Drive Letter on Windows: 11 Steps

Video: How to Map a Folder to a Drive Letter on Windows: 11 Steps
Video: How to Clean Bathroom Tiles (Clean Like A Pro) 2024, December
Anonim

Tired of having to browse long directory addresses? There is a way you can follow to map a drive letter to a directory address. That way, you don't have to spend a lot of time accessing frequently opened folders. For example, you could map a long directory address such as D:\Documents\Via\Vallen to the drive letter “X”.

Step

Method 1 of 2: Using Command Prompt

Map a Folder to a Drive Letter in Windows Step 1
Map a Folder to a Drive Letter in Windows Step 1

Step 1. Open a Command Prompt window

In Windows Vista or Windows 7, open Command Prompt as a normal user, not as an administrator. The reason will be explained later.

Map a Folder to a Drive Letter in Windows Step 2
Map a Folder to a Drive Letter in Windows Step 2

Step 2. Use the SUBST command to map the desired folder to a drive letter

For example: SUBST X: "D:\Documents\Via\Vallen".

Map a Folder to a Drive Letter in Windows Step 3
Map a Folder to a Drive Letter in Windows Step 3

Step 3. Open a new Windows Explorer window to open it

You can see the drive letter you just created (eg “X”). With that drive, you can access the mapped folder directly.

Map a Folder to a Drive Letter in Windows Step 4
Map a Folder to a Drive Letter in Windows Step 4

Step 4. Type in SUBST X:

/D to remove the previously created drive letter mapping.

Map a Folder to a Drive Letter in Windows Step 5
Map a Folder to a Drive Letter in Windows Step 5

Step 5. All mapped drive letters will be deleted or reset when you restart the computer

To map folders automatically when the computer starts up, enter the SUBST command into a batch file, then save the file in the “Autostart” folder in the “Start” menu. More advanced users can take advantage of the Task Scheduler feature of Windows, but how to use it is not discussed in this article.

Map a Folder to a Drive Letter in Windows Step 6
Map a Folder to a Drive Letter in Windows Step 6

Step 6. Execute the SUBST command through the command generator account

This mapping is only created for users who initially set the SUBST command. If you are logged into the “Via” account and open Command Prompt as “Administrator” to run the SUBST command, the “Via” account will not be able to see the mapped drive letters. This happened because the mapping was created for the “Administrator” account, and not “Via”. Therefore, you need to open Command Prompt as a normal user on Windows Vista and Windows 7. When using the Task Scheduler feature, again make sure the command is run for the regular user account.

Method 2 of 2: Via “My Computer” Button (Graphic Method on Windows)

Map a Folder to a Drive Letter in Windows Step 7
Map a Folder to a Drive Letter in Windows Step 7

Step 1. Open “My Computer” from the computer desktop

Map a Folder to a Drive Letter in Windows Step 8
Map a Folder to a Drive Letter in Windows Step 8

Step 2. Click “Map Network Drive” on the “Tools” menu

Map a Folder to a Drive Letter in Windows Step 9
Map a Folder to a Drive Letter in Windows Step 9

Step 3. Select the drive letter you want to map with the desired folder in the “Drive” column

You can rename this mapped drive to any name after it.

Map a Folder to a Drive Letter in Windows Step 10
Map a Folder to a Drive Letter in Windows Step 10

Step 4. Type in the server and the name of the computer or folder you want to share, then click “Browse” to locate the computer or folder in the “Folder” box

Recommended: