1.

Solve : how to use batch command to end program?

Answer»

Is it possible to use a command within a BATCH file to stop a program from running? I have batch files set up to start groups of PROGRAMS, but would LIKE to stop several programs from running before the new ones are started.

Thanks in advance!
Doc
I would use taskkill /f /IM program_to_stop.exe and replace the program_to_stop.exe with the name of the program you want to KILL.

Here is more info to share with you on taskkill : http://technet.microsoft.com/en-us/library/bb491009.aspx



Discussion

No Comment Found