Batch file .EXE runner (crap title, info inside)

Associate
Joined
18 Aug 2005
Posts
913
Location
Wirral, UK.
I'm trying to make a batch file that will run my apps after I've been gaming (Winamp, Trillian, Avast, Samurize, what-not)... I've made a taskkill one to close all the apps I use before gaming, just having a bit of trouble getting it to work with opening them again.

I have googled, but came up with nowt.

Any chance of some example code?

I appreciate any help,

ta.
 
Code:
@echo off
start "C:\Program Files\Samurize\client.exe"
start "C:\Program Files\Winamp\Winamp.exe"
start "C:\Program Files\Winamp\Winampa.exe"
start "C:\Program Files\trillian\trillian.exe"
start "C:\Program Files\Abyss Web Server\abyssws.exe"
start "C:\Program Files\Creative\JBseriesDRV\CTPdeSrv.exe"
start "C:\WINDOWS\BricoPacks\Vista Inspirat\ObjectDock\ObjectDock.exe"
start "C:\Program Files\Alwil Software\Avast4\Ashdisp.exe"
start "C:\Program Files\Alwil Software\Avast4\AshMaiSv.exe"
start "C:\Program Files\Alwil Software\Avast4\ashServ.exe"
start "C:\Program Files\Alwil Software\Avast4\ashWebSv.exe"
start "C:\Program Files\Alwil Software\Avast4\aswUpdSv.exe"
start "C:\Program Files\Java\jre1.5.0_06\bin\jusched.exe"
start "C:\Program Files\Windows Defender\MSASCui.exe"
start "C:\Program Files\Windows Defender\MsMpEng.exe"

exit

^ is what I've got. At the moment, that just runs what appears to be 15 command prompts, but no programs.

If I lose the start command from the start, It opens the programs, but only one for each time I open the batch file. Eg: First run, Samurize loads, second run, Winamp loads, third run, Winamp agent loads, etc. (and the command prompt stays, doesn't close)

So yeah. I'm stumped.
 
Last edited:
Back
Top Bottom