General discussion

Locked

Pausing inside Login Scripts

By byrian ·
I have a login script with information I want displayed for 10 seconds before continuing to execute the remaining parts of the scripts. I do not want the user to have to press any key to continue. What do I use in the basic Windows login script?

This conversation is currently closed to new comments.

2 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

Re: Pausing inside Login Scripts

by Raad@C In reply to Pausing inside Login Scri ...

The windows dial-up logon script help says:

The "delay [nSeconds]" command pauses for the number of seconds specified by nSeconds before executing the next command in the script.
E.g. delay 2 ; pauses for 2 seconds

Not sure if that is the sort of script you are using, but if it isn't then you could use something like the DOS batch script below:

@echo off
echo Hello
REM pause
@ping -n 1 -w 5000 1.1.1.1 > pingtemp.log
@del pingtemp.log
echo World

Replace the 5000 (5 seconds) with whatever time (in miliseconds) you want to wait.

HTH

Collapse -

Pausing

by lsp In reply to Re: Pausing inside Login ...

Fasttrack has a sleep function, use that instead, www.fasttrackscript.com

Back to Networks Forum
2 total posts (Page 1 of 1)  

Related Discussions

Related Forums