View Full Version : .bat help
?Unknown?
9th November 2005, 06:07
I am making a .bat to make my life esier then loading 3 different things then AAO, so I made a .bat Works great EXCEPT not the way I want it to lol.
So Ill run the .bat and it will load the 1st program.
However it wont run the 2nd Program untill I close the first one.
How can I get around this?
Here is an example of the .bat
@Echo off
echo.
echo Start Injector?
pause
"C:\Inject.exe"
@Echo off
echo.
echo Start AAO?
pause
"C:\AAO.exe"
- Any help would be apreciated.
The locations are correct. Thats how I have it.
Stinger
squirrel5153
9th November 2005, 07:03
i came around this problem many times and i dont think dos is complicated enough to do this, but you can go here :
http://www.computerhope.com/msdos.htm
and read up on dos
lionheart5358
9th November 2005, 08:01
use one batch to call 2 others, like such:
random.bat:
@Echo off
echo.
echo Start Injector?
pause
call inject.bat
echo.
echo Start AAO?
pause
call aao.bat
inject.bat:
@Echo off
"C:\Inject.exe"
aao.bat:
"C:\AAO.exe"
?Unknown?
9th November 2005, 14:37
Thank you Lion and Squirell and all other Zoo animals lol...
Anyhow I will try this out.
-Stinger
EDIT: It wont ask to load the AAO.Bat unless I close the Injector or the first program is terminated.
valenti1232289
9th November 2005, 14:51
make a simple native program with file.whatuwant(params) and itll do the job cooler than a bat ;)
precision1337
9th November 2005, 19:47
I am making a .bat to make my life esier then loading 3 different things then AAO, so I made a .bat Works great EXCEPT not the way I want it to lol.
So Ill run the .bat and it will load the 1st program.
However it wont run the 2nd Program untill I close the first one.
How can I get around this?
Here is an example of the .bat
@Echo off
echo.
echo Start Injector?
pause
"C:\Inject.exe"
@Echo off
echo.
echo Start AAO?
pause
"C:\AAO.exe"
- Any help would be apreciated.
The locations are correct. Thats how I have it.
Stinger
put the word start before "C:\Inject.exe" and "C:\AAO.exe"
so it instad of "C:\Inject.exe", it would be:
start "C:\Inject.exe"
and for "C:\AAO.exe", change it to:
start "C:\AAO.exe"
without the word start, batch files will wait until the program called to be closed before it continues, being that batch files actually are executables, but if you use the word start, it just "starts" the program ;)
Powered by vBulletin™ Version 4.0.2 Copyright © 2010 vBulletin Solutions, Inc. All rights reserved.