Quote:
Originally posted by yatzr
hrdwareguy, although that's a good idea, I don't know how to make the program close itself when it calls the batch file other than taskkill (I didn't write program A or anything and although it is open source, I don't have the skills to try and change it). Also, a pause does make it work, but I really don't want to have to hit a button each time I do it.
Another problem though, everytime program A calls the batch file or program B, it becomes "not responding", until program B is closed. So, the only way to close it is to force it (/f) and I think that causes a memory leak. So i don't know if I even want to go that route anymore.
|
Sounds like you are going to need to do a bit of programming, or find someone to help you with that. Program A is calling program B and when it does this, it sounds like it has a wait loop that says wait until the called program finishes before continuing. Easy enough to fix, but agian it requires a bit of programming.