Tezcatlipoca
Registered User.
- Local time
- Today, 17:56
- Joined
- Mar 13, 2003
- Messages
- 246
The title pretty much says it all. I currently have a Macro in my database that, without going in to too much detail, runs a small *.bat dos program on the hard drive. The program runs fine, as does the Macro that executes it.
At the moment, once the program is run the DOS window that has finished running the program just sits on the screen until the X box in the upper right corner of the window is clicked. It's purely an aesthetic concern, but is it possible to get my Macro - once it's run the application - to close it automatically?
I've tried doing this in what I see as the simpler way (i.e. having the batch file close itself), but my DOS command of 'exit' appears to not work.
At the moment, once the program is run the DOS window that has finished running the program just sits on the screen until the X box in the upper right corner of the window is clicked. It's purely an aesthetic concern, but is it possible to get my Macro - once it's run the application - to close it automatically?
I've tried doing this in what I see as the simpler way (i.e. having the batch file close itself), but my DOS command of 'exit' appears to not work.