Many LAN Manager Enhanced commands require confirmation
to complete a task. To expedite this confirmation, you can append
the /yes or /no option
to the command. The /yes and /no
options can be abbreviated /y and /n.
For example, the net logon command
logs you on to the network. But when another user is already logged
on at the workstation you are using, you must log off that user
before you can log on.
To log on at a workstation at which another user is also logged
on (your username is chrisj and your password is daffodil), type:
net logon chrisj daffodil
Be careful that no one sees your password. So that no one
sees your password as you type, you can use an asterisk (*) instead
of your password. In this example you would type:
net logon chrisj *
LAN Manager Enhanced returns a series of prompts
asking you to confirm logging off the current user and canceling
the workstation's existing connections and prompting you
for your password. You must respond to the yes/no prompt by typing
y or pressing ENTER before you can proceed
with the logon. To log on without prompts, add the /y
option to the net logon command. Type:
net logon chrisj daffodil /y
Remember, you can protect your password by substituting an
asterisk (*). In this example, you would type:
net logon chrisj * /y