|  |
01-13-2008, 04:05 PM
|
#1 (permalink)
|
Newb Techie Join Date: Oct 2007 Posts: 25
| Batch scripting: Startup applications and close batch file 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? |
| |
01-16-2008, 01:03 PM
|
#2 (permalink)
|
Newb Techie Join Date: Oct 2007 Posts: 25
| Re: Batch scripting: Startup applications and close batch file *Huhm* |
| |
01-16-2008, 01:33 PM
|
#3 (permalink)
|
HONK if you route packets Join Date: Sep 2003 Posts: 4,664
| Re: Batch scripting: Startup applications and close batch file There's something you have to put before the program name ....
Let me dig around
__________________ A+, Net+, Sec+, Server+, Linux+, MOUS(2000 & '03), MCSE, MCSA, MCT, CNA, CCNA, CCDA, CCNP, CCSP |
| |
01-16-2008, 01:34 PM
|
#4 (permalink)
|
HONK if you route packets Join Date: Sep 2003 Posts: 4,664
| Re: Batch scripting: Startup applications and close batch file ok, found it, add: 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 prior to each program... not 100% on that though.
__________________ A+, Net+, Sec+, Server+, Linux+, MOUS(2000 & '03), MCSE, MCSA, MCT, CNA, CCNA, CCDA, CCNP, CCSP |
| |
01-16-2008, 09:20 PM
|
#5 (permalink)
|
Monster Techie Join Date: May 2004 Location: /usr/root/mn/us Posts: 1,121
| Re: Batch scripting: Startup applications and close batch file 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
__________________  <br>
Its a frigging Laptop, not a Labtop!!!! |
| |
01-16-2008, 09:34 PM
|
#6 (permalink)
|
HONK if you route packets Join Date: Sep 2003 Posts: 4,664
| Re: Batch scripting: Startup applications and close batch file Quote:
Originally Posted by bla!! 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.
__________________ A+, Net+, Sec+, Server+, Linux+, MOUS(2000 & '03), MCSE, MCSA, MCT, CNA, CCNA, CCDA, CCNP, CCSP |
| |
01-17-2008, 03:27 PM
|
#7 (permalink)
|
Newb Techie Join Date: Oct 2007 Posts: 25
| Re: Batch scripting: Startup applications and close batch file Quote:
Originally Posted by mikesgroovin XP handles the cmd line differently than older versions of the command line... pretty sure that wont work. | Thanks!! it works!!! |
| |
01-17-2008, 08:50 PM
|
#8 (permalink)
|
Monster Techie Join Date: May 2004 Location: /usr/root/mn/us Posts: 1,121
| Re: Batch scripting: Startup applications and close batch file Quote:
Originally Posted by mikesgroovin XP handles the cmd line differently than older versions of the command line... pretty sure that wont work. | When you put the "" in there all you're telling it is to use a blank title for the window. Type start /? at a command prompt and you'll see all the options.
__________________  <br>
Its a frigging Laptop, not a Labtop!!!! |
| |  | | Thread Tools | | | | Display Modes | Linear Mode |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | | |