TotalNET Advanced Server 5.2 Reference Manual

exit

This command terminates execution of the login program and, if you wish, executes an external program. Using exit at the end of the system login script prevents user login scripts from executing. On termination of the command, control does not return to the script.

In some cases, you can use exit in an if...then entry to terminate the script. If you do, use exit on a separate line.

Usage

exit ["command"]

Option

command 

Terminate the script and execute the command. 

Example

Add the following entry to the end of user richard's login script to cause his client to remind him every Thursday to do his status report:

if day_of_week = "thursday" then exit "edit
 	s:/richard/status.txt"