How to Map a Folder as a Network Drive in Windows

Table of contents:

How to Map a Folder as a Network Drive in Windows
How to Map a Folder as a Network Drive in Windows
Anonim

Are you tired of having to open a large number of folders to access your data? The solution is to map a network drive to a specific path. This way you can access your data with just a click of the mouse, saving you a lot of time. For example you can create the drive identified by the letter "X" and make it point to the folder "D: / Documents / Luca / Lettere".

Steps

Method 1 of 2: Use the 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

If you are using a computer with Windows Vista or Windows 7, open the "Command Prompt" using your default user account and not the system administrator. The reason for this choice 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 a specific folder as a storage drive

For example, the command "SUBST X:" D: / Documents / Luke / Letters "maps the" Letters "folder as the" X "drive of the system.

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

Step 3. To test the functionality of the new memory drive, open a "Windows Explorer" or "File Explorer" window

A new memory drive with the letter "X:" should appear, giving you direct access to the specified path (in this case the "Letters" folder).

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

Step 4. To disconnect the drive created in the previous step, execute the command "SUBST X:

/ D.

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

Step 5. Please note that when you restart your computer, all drives mapped in this way will be automatically deleted

To ensure that they are kept even after the system is restarted, you need to create a batch file in which to insert all the "SUBST" commands that create the individual drives that you will insert in the "Startup" directory of the "Start" menu. More experienced users can use the Windows "Scheduled Tasks" or "Task Scheduler" functionality (this procedure is not described 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. Run the "SUBST" command using the user account that will be using the mapped drive

The memory units created in this way will be available only to the user who actually performed the mapping "SUBST" command. If you are logged in to Windows with the user account "Luca", but to open the "Command Prompt" and execute the command "SUBST" you use the system administrator account, the user "Luca" will not be able to unable to view any drives that have been mapped with the Windows administrator account. This is why the "Command Prompt" must be started with the default user account on Windows Vista and Windows 7 systems. Even when using the "Scheduled Tasks" or "Task Scheduler" feature make sure the mapping command run under the user account that will then actually use the mapped drives.

Method 2 of 2: Using the Windows GUI

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

Step 1. Access the "Computer" dialog from the Windows 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 on the "Map Network Drive" option located in 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 to use for mapping from the "Drive" drop-down menu

You will be able to rename this network drive to whatever name you prefer.

Recommended: