Use CHOICE (MS-DOS 6 and later, Windows NT/2000 with Resource Kit):
REM ¦ CHOICE /C:YN /N /T:Y,10 >NUL
will delay execution for 10 seconds in MS-DOS.
TYPE NUL ¦ CHOICE /C:YN /N /T:Y,10 >NUL
will do the same in Windows NT/2000 with CHOICE.EXE from the Resource Kit.
Use PING (MS-DOS with TCP/IP client, Windows 95/98/NT/2000):
PING localhost -n 11 -w 1000
will delay execution for 10 seconds (11 - 1).
Use SLEEP or TIMEOUT (Windows NT/2000 with Resource Kit):
SLEEP 10
will delay execution for 10 seconds.
TIMEOUT 10
will wait for 10 seconds or continue when a key is pressed, whatever comes first.
Use Kix' SLEEP command (Kix must be installed):
>%TEMP%.\SLEEP.KIX ECHO SLEEP 10
KIX32 %TEMP%.\SLEEP.KIX
DEL %TEMP%.\SLEEP.KIX
will delay execution for 10 seconds.
tiré de : http://www.robvanderwoude.com/index.html rubrique How To
J'aime bien l'utilisation détournée de ping pour créer un délai...
A+