Print Page | Close Window

Batch script

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: General Discussion
Forum Description: General discussion and chat on any topic.
URL: https://forums.webwiz.net/forum_posts.asp?TID=10438
Printed Date: 31 March 2026 at 4:33pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Batch script
Posted By: huwnet
Subject: Batch script
Date Posted: 14 May 2004 at 1:37pm
How can I write a maintenance script for XP?

I need it do run certain programs. However I need to make sure the command finishes before I run the next command.



Replies:
Posted By: Mart
Date Posted: 14 May 2004 at 2:31pm

You just do something along the lines of:

echo Renewing IP Address

ipconfig /renew

echo Running custom exe

cd C:\whatever

exename

 

It will always wait for the program to finsih before moving on



Posted By: dpyers
Date Posted: 14 May 2004 at 2:32pm
wsh - http://msdn.microsoft.com/library/default.asp?url=/library/en-us/script56/html/wsoriWindowsScriptHost.asp - http://msdn.microsoft.com/library/default.asp?url=/library/e n-us/script56/html/wsoriWindowsScriptHost.asp

-------------

Lead me not into temptation... I know the short cut, follow me.


Posted By: huwnet
Date Posted: 14 May 2004 at 2:49pm
Thanks.
Are there also any open source programs like Software manegment server.


Posted By: pmormr
Date Posted: 15 May 2004 at 11:02pm
batch files always wait for execution to finish before continuing to the next command

-------------
Paul A Morgan

http://www.pmorganphoto.com/" rel="nofollow - http://www.pmorganphoto.com/


Posted By: genmud
Date Posted: 16 May 2004 at 1:02am
[removed]

-------------
---A Sig :P---



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net