Supervising the Network

5-22
Customizing the User Environment
Login Script Commands and Variables
CLS
Use CLS to clear the display from the workstation’s screen during the login
process.
Command Format
CLS
Using CLS
When a user logs in, a login script may display messages on the users
workstation screen.
If the CLS command is added to the login script, any messages generated by
commands earlier in the login script are cleared from the screen.
COMSPEC
Use COMSPEC in the login script to execute DOS commands from the
network. Specify the directory where DOS and the DOS command
processor (COMMAND.COM) are loaded.
COMSPEC is originally set when DOS is booted. It must be reset after you
log in to change the location that COMMAND.COM loads from while you
are logged in to the network.
Command Format
COMSPEC=[path]COMMAND.COM
Replace path with either a drive letter or a full directory path beginning with
the NetWare volume name.
Using COMSPEC
Follow these guidelines for using COMSPEC:
If users are running DOS from a network directory, first map a search drive in the
login script to that directory and then add the COMSPEC command to the login
script.
(You may want to map a fake root to the DOS directory. For information about
mapping a fake root, see “MAP” in this chapter.)
If all users use the same version of DOS from the network, you can add the