User's Guide for MS-DOS Clients

207
Using LAN Manager Basic
Using Shared Directories
There are two ways to supply the password:
Type the password at the end of the net use command.
For example, to supply the password region while assigning S: to the MID-
WEST shared directory on the \\SALES server, type:
net use s: \\sales\midwest region
Type an asterisk (*) instead of the password at the end of the command.
LAN Manager Basic then prompts you for a password.
For example, to substitute an asterisk for the password in the previous example,
type:
net use s: \\sales\midwest *
The following prompt appears:
Password:
Type the password at the prompt. The password doesn’t appear on the screen
when you type it in in response to the prompt, which keeps the password confi-
dential.
Using MS-DOS Commands with Shared Directories
You can use the network path of a shared resource as part of a path in some
MS-DOS commands. In this case, LAN Manager Basic connects to the
server sharing the directory when the command is performed, provided the
directory doesn’t require a password.
You don’t have to assign a devicename to a shared directory when the
network path is used as part of an MS-DOS command. When a devicename
is assigned, you can specify the devicename rather than the network path in
the command.
You can also use a file in a shared directory with any application that runs
under MS-DOS. For example, to edit the LIST.DOC file in the
\\SALES\MIDWEST directory with Microsoft Word, type:
word \\sales\midwest\list.doc