Discussion Locked

Pausing inside Login Scripts

0 helpful
2 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
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?

2 replies

by raad1

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

This discussion is closed to new replies.