I need to create a batch script that will look up all running processes of "cmd" and close/kill them. It should not kill itself though because I want to start another batch process after the kill.
I have Unix windows based tools such as ps, kill and cut. Maybe that can help.
Any assistance would be appreciated.