Executing many .exe files simultanesouly with .bat script

Hi all,

I am trying to write a script which will run a bunch of programs and then exit.
I have currently written this:

@echo off
echo ****************************************
echo *******Opening Web Applications*********
echo ****************************************
call C:\Progra~1\MySQL\MySQLT~1.0\MySQLAdministrator.exe
call C:\Progra~1\MySQL\MySQLT~1.0\MySQLQueryBrowser.exe
call C:\Progra~1\Macromedia\DREAMW~1\Dreamweaver.exe
call C:\Progra~1\MOZILL~1\firefox.exe
echo ****************************************
echo ***************All Done!****************
echo ****************************************

Its not working in the way I require it too. It strats off the first program then the control is no longer with cmd.exe!
How do I get it back to cmd.exe automatically so it cant continue with opening the rest?
Right now I have to close the first program then the script runs the third and so on..
Rest assured, the path names and file names are totally correct. No error there.

And one more thing. How can I kill all these same apps without getting any prompts? What is the command for that?

Who is Participating?

Improve company productivity with a Business Account.Sign Up

hclgroupConnect With a Mentor Commented:
Try using start keyword instead of call
coolgeek84Author Commented:
Yep.. start worked!
Is it possible to skip the initial screens for sql administrator, query browser? All I need to do is click "OK" for both of them..
I can search for this probably in their documentation itself.. Also will check how to open to a particular page in mozilla..

How abt the second part? How to close apps? Is that possible?
kill -f firefox.exe

kill.exe available in the resource kit.
coolgeek84Author Commented:
Thanks for the quick replies!

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.