Sequence of Programs with parameter

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
pollardhimself
Posts: 2
Joined: 24 Sep 2010 08:44

Sequence of Programs with parameter

#1 Post by pollardhimself » 24 Sep 2010 08:53

Basically i need a 2 programs to run, one first and once it finishes the next needs to run. However I need to pass a Command Line Parameter like it does in the shortcut the program created.

Here's the Shortcut with Command Line Parameter
C:\Honeywell\WEBStation-AX-3.4.43\bin\plat.exe installdaemon
Then it needs to run
C:\Honeywell\WEBStation-AX-3.4.43\bin\ wb_w.exe

Here is what I have so far for the batch however the Command Line Parameter didn't work

Code: Select all

start /wait /b plat.exe installdaemon
start /wait /b wb_w.exe

amel27
Expert
Posts: 177
Joined: 04 Jun 2010 20:05
Location: Russia

Re: Sequence of Programs with parameter

#2 Post by amel27 » 24 Sep 2010 09:13

try this:

Code: Select all

start "" /wait "C:\Honeywell\WEBStation-AX-3.4.43\bin\plat.exe" installdaemon
start "" /wait "C:\Honeywell\WEBStation-AX-3.4.43\bin\wb_w.exe"

pollardhimself
Posts: 2
Joined: 24 Sep 2010 08:44

Re: Sequence of Programs with parameter

#3 Post by pollardhimself » 24 Sep 2010 13:01

Thanks...

This did the trick

Code: Select all

start "" /wait "plat.exe" installdaemon
start wb_w.exe

Post Reply