Click to See Complete Forum and Search --> : simple bat file
germanjulian
11-24-2002, 04:48 PM
whats the command to start multiple programs
i cant get it to work
winxp
this doesnt work:
run C:\Program Files\KaZaA Lite\Kazaa.exe
run C:\Program Files\KaZaA Lite\Speed Up.exe
run C:\Program Files\folding\FAH3Console.exe
run C:\Program Files\Zone Labs\ZoneAlarm/zonealarm.exe
man i feel stupid
nothing
11-24-2002, 04:54 PM
what if you just type
C:\Program Files\KaZaA Lite\Kazaa.exe
C:\Program Files\KaZaA Lite\Speed Up.exe
C:\Program Files\folding\FAH3Console.exe
C:\Program Files\Zone Labs\ZoneAlarm/zonealarm.exe
????
Just a thought, I don't use xp.
germanjulian
11-25-2002, 05:14 AM
well thats what i tried
unrecognised command??
strange
Steve R Jones
11-25-2002, 06:14 AM
WHat operating system?
Try replacing the word RUN with CALL
michaeln
11-25-2002, 06:54 AM
I might have missed the point but why don't you create a shortcut to each programme in your startup folder?
I don't know about the rest but Zone Alarm should autostart at bootup without the need to add it to a .bat file.
jmichna
11-25-2002, 08:51 AM
Either change the command string directory names to 8.3 e.g., C:\Progra~1\KaZaAL~1\Kazaa.exe
or put quotes around the command string e.g.
"C:\Program Files\KaZaA Lite\Kazaa.exe"
"C:\Program Files\KaZaA Lite\Speed Up.exe"
"C:\Program Files\folding\FAH3Console.exe"
"C:\Program Files\Zone Labs\ZoneAlarm/zonealarm.exe"
I'd try the quotes first. Don't remember if the CALL command only works to call other batch files, or if it will call executables too... been away from DOS for too long.
Let us know what works.
jmichna
germanjulian
11-25-2002, 12:39 PM
yeah that work up till the first line of code
basically kazza starts then it stops and the bat file is open but doesnt do anything :mad:
dam it i dont remember dos at all
jmichna
11-25-2002, 01:56 PM
Originally posted by germanjulian
yeah that work up till the first line of code
basically kazza starts then it stops and the bat file is open but doesnt do anything :mad:
dam it i dont remember dos at all Seems that once the focus goes to the newly opened program, the focus remains there rather than returning to the batch file. That new program would have to close to return focus to the batch file. This is an interesting problem.
Steve R Jones
11-25-2002, 02:13 PM
Am betting jmichna is on target with the directory names. Try combining the two:
CALL C:\Progra~1\KaZaAL~1\Kazaa.exe
You could write a little VB code snippit to do it. That way when you shell'd the command you could tell it to open out of focus (but not hazy) at the same time.
fini
germanjulian
11-25-2002, 03:04 PM
i gave up
CALL C:\Progra~1\KaZaAL~1\Kazaa.exe;
CALL C:\Progra~1\KaZaAL~1\Speedu~1.exe;
CALL C:\Progra~1\KaZaAL~1\KLChea~1.exe;
CALL C:\Progra~1\fold\FAH3Co~1.exe
sort of works but not really?
Steve R Jones
11-25-2002, 04:43 PM
Remove the semi colon. The CALL function is "suppost" to launch apps. WHen done it launches the next one.
the xenon
11-25-2002, 05:11 PM
Yeh it executes the first command and waits till it will finish executing then it goes on to the next one. You want them all executed at once right?
DeathMagi
11-27-2002, 07:58 PM
try
start C:\Progra~1\KaZaAL~1\Kazaa.exe
start C:\Progra~1\KaZaAL~1\Speedu~1.exe
start C:\Progra~1\KaZaAL~1\KLChea~1.exe
start C:\Progra~1\fold\FAH3Co~1.exe
SysOpt.com
Copyright Internet.com Inc. All Rights Reserved.