" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#008000" VLINK="004000" ALINK="#00C000">
NET LOGIN command
Function: Establishes logical connection with remote server.
Syntax: NET LOGIN \\SERVER_NAME [PASSWORD] [\WAIT].
Parameters:
PASSWORD parameter is optional. If the user is registered in the remote
server as a password bearer, the password must be introduced from
the keyboard. If the system detects a mistake, another attempt is
permitted. After the third unsuccessful attempt the NET program
terminates, returning error message. If the user is registered
without a password there is no need to input it.
(See "USER LISTS AND PASSWORDS".)
\WAIT - parameter is optional. If it is absent, and the server is
inactive during the attempt to connect, the NET program will quit
after a time-out with the message:
COULD NOT LOG TO SERVER \\SERVER
If the password was specified, the connection is registered as
inactive, If the password was not specified in the command line,
the connection is not registered.
Examples:
1. NET LOGIN \\LOT MY_PASS \WAIT
Log to server LOT using MY_PASS password. If the server is inactive, the
command will try to connect again and again until it comes back to active
mode.
2. NET LOGIN \\LOT MY_PASS
Log to server LOT using MY_PASS password. If the server is non-active
the command will quit with the message:
Could not log to server LOT.
Connection logged but not active.
3. NET LOGIN \\LOT \WAIT
There is no password in the command line, so NET.EXE will ask for it to
be typed in:
Input password:........ <Enter>
Log to server LOT
See also LotLAN ERROR MESSAGES (NET.EXE ERROR MESSAGES).