PC Review


Reply
Thread Tools Rate Thread

Delay in batch scripts?

 
 
BigMan
Guest
Posts: n/a
 
      10th Apr 2005
How do I delay the execution of a bach file by 5 seconds, such as in:

rem do smth
rem wait for 5 seconds
rem do smth


 
Reply With Quote
 
 
 
 
Al Dunbar [MS-MVP]
Guest
Posts: n/a
 
      10th Apr 2005

"BigMan" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> How do I delay the execution of a bach file by 5 seconds, such as in:
>
> rem do smth
> rem wait for 5 seconds
> rem do smth


This should do the trick for you:

>nul ping -n 6 localhost


/Al


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
SQL Scripts and run SQL in Batch Mode BD Microsoft Access 4 13th Jun 2006 02:22 PM
VB Scripts and Batch Files =?Utf-8?B?Sm9uYXRoYW4gRmlua2JpbmVy?= Spyware Discussion 1 9th Mar 2006 10:56 PM
RE: VB Scripts and Batch Files =?Utf-8?B?RWZyYWlu?= Spyware Discussion 0 9th Mar 2006 03:37 PM
SQL Batch Scripts Jeff V via AccessMonster.com Microsoft Access ADP SQL Server 3 4th Nov 2005 09:05 PM
Re: Batch Files/Scripts in XP Pro John Namias Windows XP General 0 10th Sep 2003 10:35 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:14 PM.