1.

Solve : dos window to close after starting the program?

Answer»

hello. I have a program that does not PLAY nice with our main SQL based application CALLED automate. I have a need to stop the service and restart the service and the additional exe that allows the program to run. I have so far
@echo off
net stop "AutoMate 6"

and one to start it

@echo off
net start "AutoMate 6"
"c:\program files\automate 6\amem.exe"

The issue is I would like the DOS window to close after starting the program. Right now it remains OPEN.To close the prompt, add "exit" to the end of the batch... 8-)no joy it stays open until the app is closed...



Discussion

No Comment Found