User's Guide for MS-DOS Clients

165
Enhanced Reference
Command and Utility Summary
Net Use
Purpose
The net use command connects a workstation to or disconnects a
workstation from a shared resource, or displays information about
workstation connections. It also controls the persistent net connections
feature.
Syntax
net use [devicename] [\\computername\sharename [password | *]]
net use {devicename | \\computername\sharename} /delete
net use [devicename] [\\computername\sharename [password | *]] /home
net use /persistent:{yes | no | freeze | save}
where
devicename
Assigns a name to a device connected to a shared resource or specifies the
disconnecting devicename. LAN Manager Enhanced uses two kinds of
devicenames, one type for disk drives (all nonlocal drive letters through the value
of lastdrive as defined in the CONFIG.SYS file) and the other type for printers
(LPT1: through LPT3:).
computername
Is the name of a server sharing a resource. If the computername contains blank
characters, enclose the double backslash (\\) and the computername in quotation
marks (" ").
sharename
Is the name of a resource.
password
Is the password needed to use a resource. To be prompted for the password, type
an asterisk (*) instead of the password. A password does not appear when you
type it at a password prompt.
/delete
Cancels a network connection.