Name
net use
Synopsis
net use [device:] [\\host\share] [password| *] [options]
Map a network resource to a local device, which can be a drive letter or a printer of the form LPTn.
The host and share name argument is used only when defining new mappings. It may have a NetWare volume name appended, if appropriate.
Any required password may be specified on the command line, or an asterisk may be substituted to request a password prompt.
Options
- /PERSISTENT:YES | NO
Create a persistent mapping (automatically re-created at each login). The default is the setting used most recently. If this option is specified without any other arguments, it changes the current default.
- /USER:[domain\]username
Specify an alternate user account for accessing the resource.
- /HOME
Map the specified drive letter to your home directory (no resource specification is needed).
- /DELETE
Permanently remove the specified device mapping.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access