Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Batch script
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Batch script

 Post Reply Post Reply
Author
huwnet View Drop Down
Senior Member
Senior Member


Joined: 30 May 2003
Location: England
Status: Offline
Points: 1375
Post Options Post Options   Thanks (0) Thanks(0)   Quote huwnet Quote  Post ReplyReply Direct Link To This Post Topic: Batch script
    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.
Back to Top
Mart View Drop Down
Senior Member
Senior Member
Avatar

Joined: 30 November 2002
Status: Offline
Points: 2304
Post Options Post Options   Thanks (0) Thanks(0)   Quote Mart Quote  Post ReplyReply Direct Link To This Post 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

Back to Top
dpyers View Drop Down
Senior Member
Senior Member


Joined: 12 May 2003
Status: Offline
Points: 3937
Post Options Post Options   Thanks (0) Thanks(0)   Quote dpyers Quote  Post ReplyReply Direct Link To This Post Posted: 14 May 2004 at 2:32pm

Lead me not into temptation... I know the short cut, follow me.
Back to Top
huwnet View Drop Down
Senior Member
Senior Member


Joined: 30 May 2003
Location: England
Status: Offline
Points: 1375
Post Options Post Options   Thanks (0) Thanks(0)   Quote huwnet Quote  Post ReplyReply Direct Link To This Post Posted: 14 May 2004 at 2:49pm
Thanks.
Are there also any open source programs like Software manegment server.
Back to Top
pmormr View Drop Down
Senior Member
Senior Member


Joined: 06 January 2003
Location: United States
Status: Offline
Points: 1479
Post Options Post Options   Thanks (0) Thanks(0)   Quote pmormr Quote  Post ReplyReply Direct Link To This Post Posted: 15 May 2004 at 11:02pm
batch files always wait for execution to finish before continuing to the next command
Back to Top
genmud View Drop Down
Groupie
Groupie
Avatar

Joined: 05 April 2003
Location: United States
Status: Offline
Points: 78
Post Options Post Options   Thanks (0) Thanks(0)   Quote genmud Quote  Post ReplyReply Direct Link To This Post Posted: 16 May 2004 at 1:02am
[removed]

Edited by genmud - 12 March 2008 at 5:21am
---A Sig :P---
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.