Computing.Net > Forums > Windows XP > Start /wait in XP

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Start /wait in XP

Reply to Message Icon

Name: bkrocker
Date: July 19, 2004 at 07:02:41 Pacific
OS: XP
CPU/Ram: 1.8 /1.0g
Comment:

All of the other os's work fine using start /min /wait....a piece of the batch file I'm running is below. However in XP Start /wait doesn't wait if any of the apps are 32bit installs. They will continue to load before the first one finishes. Microsoft says that this is normal, only when using windows scripting will the wait command work. How can I use cscript to run each of these start /wait commands? appreciate any help.

%cdrom%\ppbs create "Updating Software or Configuration of Lab Machines..." settext 1 "Installing Tivoli Agent..."
%cdrom%\ppbs movewindow 1 10 10
%cdrom%\Start /min /wait %cdrom%\tivoli\setup -s
%cdrom%\CHOICE /C:AB /N /T:A,40 > NUL
%cdrom%\ppbs destroy 1

%cdrom%\ppbs create "Updating Software or Configuration of Lab Machines..." settext 1 "Installing McAfee Anti-Virus Ver 7..."
%cdrom%\ppbs movewindow 1 10 10
%cdrom%\Start /min /wait %cdrom%\av\avinstall.bat
%cdrom%\CHOICE /C:AB /N /T:A,40 > NUL
%cdrom%\ppbs destroy 1

%cdrom%\ppbs create "Updating Software or Configuration of Lab Machines..." settext 1 "Installing Acrobat Reader Ver 6..."
%cdrom%\ppbs movewindow 1 10 10
%cdrom%\Start /min /wait %cdrom%\AReader6\AReader6.msi /qr
%cdrom%\CHOICE /C:AB /N /T:A,40 > NUL
%cdrom%\ppbs destroy 1

%cdrom%\ppbs create "Updating Software or Configuration of Lab Machines..." settext 1 "Installing Microsoft Automatic Update Agent..."
%cdrom%\ppbs movewindow 1 10 10
%cdrom%\Start /min /wait %cdrom%\susnoad.msi /qr
%cdrom%\CHOICE /C:AB /N /T:A,40 > NUL
%cdrom%\ppbs destroy 1

%cdrom%\ppbs create "Updating Software or Configuration of Lab Machines..." settext 1 "Installing Novell Agent..."
%cdrom%\ppbs movewindow 1 10 10
%cdrom%\Start /B /min /wait %cdrom%\Novell\ZfdAgent.msi /q Reboot=ReallySuppress
%cdrom%\CHOICE /C:AB /N /T:A,40 > NUL
%cdrom%\ppbs destroy 1



Sponsored Link
Ads by Google

Response Number 1
Name: Xmtr99x
Date: July 19, 2004 at 07:09:19 Pacific
Reply:

You may get a quicker response in the Programming forum.

Transmitter 99X


0

Response Number 2
Name: ruscal
Date: July 19, 2004 at 11:40:39 Pacific
Reply:

bkrocker,

instead of using batch files (.bat) use a NT command script (.cmd) you write them the same way, except a few things act alot nicer.

for example, I use a .cmd to auto install networking components and
start /wait %cdrom%\Install\Novell\setupnw.exe -u
works just fine for me, and the next object doesn't launch until novell is done.

-Russell


0

Response Number 3
Name: bkrocker
Date: July 21, 2004 at 07:35:54 Pacific
Reply:

Thanks Russell, that did the trick!!


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Windows XP Forum Home


Sponsored links

Ads by Google


Results for: Start /wait in XP

Cannot start DCOM in XP www.computing.net/answers/windows-xp/cannot-start-dcom-in-xp/119362.html

Problems with start-up in XP www.computing.net/answers/windows-xp/problems-with-startup-in-xp/26522.html

disabling the start key in XP www.computing.net/answers/windows-xp/disabling-the-start-key-in-xp/10804.html