Mapping a folder as a network drive in Windows

Mapping a folder as a network drive in Windows

Map a network drive to use it from File Explorer in Windows without having to search for it or type in a network address every time. Mapping a network drive to a shared folder from the Windows GUI is easy. It is enough to use Windows Explorer to find the desired folder and find the buttons in the main tab Connect as disk… But if you already know the network path for the connected folder, then you can map the network drive even faster using the command line.

By mapping a network drive, we can quickly access a specific network folder. All network drives are displayed in explorer (This computer). Of course, to mount a shared folder as a separate drive, our computer must find these shared folders. Simply put, in the explorer, on the tab “Net“We must have access to folders on other computers on the network, to a network storage device, or a router (if a flash drive or a disk is connected to it).

On the command line, run the following command:

subst Z: C:UsersMAXDesktopcb– where Z is the letter of our new drive, and C: Users MAX Desktop cb is the path to the folder we want to mount

In the same way, you can connect a network folder:

subst Z: \ disable, use the following command:
subst Z: /D

If the resource you are trying to connect to is protected by authentication and you do not want to enter credentials every time you open a network drive, you can add the username and password to the command using the parameter /user: password.

net use z: \userello-pcfilm /user:userello [email protected]$$W0rd

WARNING! All links in the articles may lead to malicious sites or contain viruses. Follow them at your own risk. Those who purposely visit the article know what they are doing. Do not click on everything thoughtlessly.


0 0 vote
Article Rating
Notify of
Inline Feedbacks
View all comments

Do NOT follow this link or you will be banned from the site!
Would love your thoughts, please comment.x

Spelling error report

The following text will be sent to our editors: