Forum     

Go Back   Digit Technology Discussion Forum > Software > Programming
Register FAQ Calendar Mark Forums Read

Programming The destination for developers - C, C++, Java, Python and the lot

Closed Thread
 
LinkBack Thread Tools Display Modes
Old 01-07-2007, 06:41 PM   #1 (permalink)
 MacManiac
 
jamesbond007's Avatar
 
Join Date: Jan 2005
Location: Nalgonda
Posts: 707
Default Batch Programming

I want to know if there is a command in Dos that will delay the

execution of a set of commands in a batch file ?
Suppose I have a batch file with 2 commands as follows :

dir >> list.txt
netstat -n

Now I'd like to add a command in between dir and netstat, like

delay(X), which would delay the execution of netstat by X seconds.
I mean after dir the batch file should wait for the time I mention and

then execute the next command. So does Dos have a command like delay ??
__________________
Why doesn't Airport automatically connect to the default Wireless network after a power cut ??
jamesbond007 is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 01-07-2007, 07:25 PM   #2 (permalink)
I see right through you.
 
Sykora's Avatar
 
Join Date: Sep 2005
Location: Chennai
Posts: 597
Default Re: Batch Programming

http://malektips.com/xp_dos_0002.html

I'm not too familiar with DOS but you should be able to use that in your batch files.
__________________
I didn't make the world, I only try to live in it.
http://lucentbeing.com
-- Sykora --
Sykora is offline  
Old 02-07-2007, 11:09 AM   #3 (permalink)
 MacManiac
 
jamesbond007's Avatar
 
Join Date: Jan 2005
Location: Nalgonda
Posts: 707
Default Re: Batch Programming

Thanx man that really helped
__________________
Why doesn't Airport automatically connect to the default Wireless network after a power cut ??
jamesbond007 is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

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 On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Unix(shell Programming) and TCP/IP programming tutorials Matrix Programming 4 08-04-2008 09:54 PM
batch files Suhas M QnA (read only) 6 18-02-2007 04:15 PM
batch normalise! romeo_8693 QnA (read only) 5 07-05-2006 04:47 PM
Batch Downloader desertwind Open Source 7 08-10-2005 06:59 PM
help needed reg. batch file. legolas QnA (read only) 4 26-03-2005 10:11 AM


All times are GMT +5.5. The time now is 10:39 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2