That example might be good for debugging, but most users are annoyed by "chatty" login scripts.

The example I gave you will display a message only if an error occurs.

Our commercial login script displays the drive and map in green on success, red on failure, and sets an error flag. At the end of the script, if the error flag is set, we wait for a user keypress or a timer to expire. This way, the user is aware that an error occurred and can contact support, otherwise the login script runs and disappears in 3-4 seconds.

Glenn
_________________________
Actually I am a Rocket Scientist! \:D