Discussion Locked

Closing Logon Script

0 helpful
9 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

G'day,

I have a logon script that uses xcopy to install some word viewers etc. The script will finish all commands, and an exit call will close the dos msdos window, however there is still the message box "please wait while your logon script executes..."

Is there a way to pass the fact that the script has finished and windows should now be run, instead of hanging with the please wait window.

Cheers.

9 replies

by ebstar

Just a thought... do you really need an exit call in a logon script? I've never written one in and the box just disappears. Have you tried the same script with out the exit call, just let it finish and Windows will close the box for you. Like I said, it's just an idea and I've not tried it, but hey... you can but try. ;o)

by ebstar

Just a thought... do you really need an exit call in a logon script? I've never written one in and the box just disappears. Have you tried the same script with out the exit call, just let it finish and Windows will close the box for you. Like I said, it's just an idea and I've not tried it, but hey... you can but try. ;o)

by volovoy

I have another idea. Instead of using xcopy command in login script create batch file with the same functions including all your copy commands. Copy this file to local or network drive, for example c:\temp. In login script insert command call batch file name. Start Windows Exlorer, in the right window make right click on this file name, choose properties, switch to tab Program and check close on exit. That's it. I use it all the time.
Alex

by volovoy

Do nor forget to put "#" symbol without quotes in login script before xcopy command or batch file name.
Alex

This discussion is closed to new replies.