Cmd Map Network Drive High Quality Jun 2026

net use

The primary tool for this task is the net use command. cmd map network drive

Note: Once you set /persistent:yes , it stays "on" for that session. Any subsequent mappings you create will also be persistent until you set it to no . net use The primary tool for this task

To map the shared folder \\Server\Public to the local drive letter Z: : cmd map network drive

This connects the share without a letter; programs can still access it via UNC.

To map a share named "Sales" on a server named "Server01" to your S: drive: net use s: \\Server01\Sales Use code with caution. Essential net use Options

At its simplest, the command requires two pieces of information: the drive letter you want to assign and the path to the network share.