Computing.Net > Forums > Programming > Batch(Dos), Delay between command

Batch(Dos), Delay between command

Reply to Message Icon

Original Message
Name: bbmak
Date: December 29, 2007 at 03:57:03 Pacific
Subject: Batch(Dos), Delay between command
OS: Win XP
CPU/Ram: 1024
Comment:

I want a few second delay between each line when executed. Are there anyway to do it? like 5 seconds delay.


t:\winamp55\winamp55.exe

t:\NOD32\NOD32_2.70.39_standard.exe /silentmode

copy t:\acdsee\ACDSee32.exe "C:\Documents and Settings\All Users\Desktop\" /y

REGEDT32.EXE /S t:\registry\tweak.reg

powercfg.exe /hibernate off

cscript t:\firefoxADM_0.4\firefoxADM_Startup_0.4\firefox_startup.vbs /y

SHUTDOWN -r -t 200


Report Offensive Message For Removal


Response Number 1
Name: Mechanix2Go
Date: December 29, 2007 at 09:24:55 Pacific
Reply: (edit)

ping 1.1.1.1 -n 1 -w 300000


=====================================
If at first you don't succeed, you're about average.

M2



Report Offensive Follow Up For Removal

Response Number 2
Name: User123456789
Date: January 3, 2008 at 03:55:09 Pacific
Reply: (edit)

Until the day that MS provides us with a correct to do that, you can get a Windows ported "sleep" command, from the internet ...

... or you can use "CHOICE", stolen from another (old) Windows version, which is actually a command to query user input, but it has got a time-out functionality, like "ping".

Hi there.


Report Offensive Follow Up For Removal







Use following form to reply to current message:

   Name: From My Computing.Net Settings
 E-Mail: From My Computing.Net Settings

Subject: Batch(Dos), Delay between command

Comments:

 


  Homepage URL (*): 
Homepage Title (*): 
         Image URL: 
 
Data Recovery Software




Have you ever used OpenOffice?

Yes, as my main suite.
Yes, occationally.
Yes, but only once.
No, never.


View Results

Poll Finishes In 5 Days.
Discuss in The Lounge