TechOnTip Weblog

Run book for Technocrats

Pause and Wait Implementation in command line batch Files

Posted by Brajesh Panda on July 15, 2011

If you like to suspends processing of a batch program and displays the message: Press any key to continue….

PAUSE
If you like to start execution of next command after sometime; like 2mins (120secs)

@choice /T 120 /C y /CS /D y

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: