Close and exit batch files

March 2, 2010 at 02:58:37
Specs: Windows XP, 3.0/512
I wrote a Batch file that It runs a Software . When I run the Batch file It Runs the soft But It (Batch File) will be open Until I close the soft .
I want The Batch file close aftr it runs the software .
What is the Code For Exiting the Batch FILE ?

See More: Close and exit batch files

Report •

March 2, 2010 at 06:35:45
Put "CALL" in front of your app and it will run you app and return to the batch file.

P.S. post a sample of your batch file.

Report •

March 2, 2010 at 07:54:22
This is My Batch File :

"12.smm" "sim.exe"

But when I run it , It will be open until I close sim.exe . Please send me a Full guide , I could'nt understand your Reply But I thank you For your Fast Respond .
Now I'm waiting for your new Respond .

Report •

March 2, 2010 at 10:38:23
Here is the site I use for batch scripting...

change your code to be...

Call "sim.exe 12.smm"

I am guessing the 12.smm is the file you want to run with sim.exe.

Report •

Related Solutions

March 2, 2010 at 12:20:05
Thanks for that link Ace, it looks very good. I've been looking for something like that.

Report •

March 2, 2010 at 19:30:58
I myself found a better way . Download "Bat to Exe Converter" from .
Then Run it & load your bat file . After it set Visibility to Invisible Application & then generate your BatExe .

Enjoy !!!

Report •

Ask Question