Discussion Locked

logon script

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

Hi,
When I run a logon script from a winnt4.0 server for win95&98 client computers. Can I run a batch file within the logon script to do a delay execution of a that particular batch program?

5 replies

by xanderoth

You sure can. The logon script is usually a batch file anyways, with a .bat extension. Just add your commands to the lines above the mapping commands, or just put in a pause if you need user intervention.

by rsp

Hi there

Assuming your login script is a batch file, use the following:

start /min delayed.bat

The /min means start the window minimised. Using the start command means that the rest of the login script will continue and delayed.bat is started as a new process.

In delayed.bat, use the SLEEP command from the NT resource kit to wait for a number of seconds: eg: Wait 1 min: SLEEP 60

Regards

Richard

This discussion is closed to new replies.