Batch scripting: Startup applications and close batch file

Status
Not open for further replies.

LincolnX

Baseband Member
Messages
25
I am looking for a way to startup multiple applications with batch scripting. After the batch file has been executed it has to be closed automatically.

for example:

Code:
"C:\Program Files\Wos_Portable\wos.exe"
"C:\Program Files\Internet Explorer\iexplore.exe http://127.0.0.1/"

The code will run WOS and Internet Explorer, but the batch file won't shutdown until I have closed wos and iexplore.

Any idea's how to fix this?
 
ok, found it, add:

Code:
start ""

to the beginning to make:

Code:
start "" "C:\Program Files\Wos_Portable\wos.exe"
start "" "C:\Program Files\Internet Explorer\iexplore.exe http://127.0.0.1/"

Pretty sure that you have to place the

Code:
start ""

prior to each program... not 100% on that though.
 
all you need is this

Code:
start "C:\Program Files\Wos_Portable\wos.exe"
start "C:\Program Files\Internet Explorer\iexplore.exe http://127.0.0.1/"
exit
 
all you need is this

Code:
start "C:\Program Files\Wos_Portable\wos.exe"
start "C:\Program Files\Internet Explorer\iexplore.exe http://127.0.0.1/"
exit

XP handles the cmd line differently than older versions of the command line... pretty sure that wont work.
 
Status
Not open for further replies.
Back
Top Bottom