NET USE: Mapping Folders

You can also map a network folder to a local drive letter by using a Command Prompt session and the NET USE command. Although you probably won’t use this method very often, it’s handy to know how it works, just in case. Here’s the basic syntax:

NET USE [drive] [share] [password] [/USER:user] [/PERSISTENT:[YES | NO]] | /DELETE]

drive

The drive letter (following by a colon) of the local drive to which you want the network folder mapped.

share

The network address of the folder.

password

The password required to connect to the shared folder (that is, the password associated with the username, specified next).

/USER:user

The username you want to use to connect to the shared folder.

/PERSISTENT:

Add YES to reconnect the mapped ...

Get Windows 8 In Depth now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.