I could not find help to this specific question, and I wonder if it has a solution. I have multiple instances of a program running on Windows 7. How can I kill a specific window (maybe based on the filename that is open)?
Background: I have a client application for an ETL software (SAS EG) on my desktop and routinely something goes wrong and a session freezes. But I have many sessions open at the same time, i.e. multiple instances of the program running on my desktop, each having their own session on the remote server. I want to kill just the one that freezed and continue working with the other instances. I know it's possible, I can kill a single instance from Task Manager, but it's a russian roulette since the processes can't be distinguished from one another in Task Manager afaik. Thanks a lot for any help.
TASKKILL /PID 1230 /PID 1241 /PID 1253 /T
TASKLIST /V
does show the Window title.