kill an running application process inside windows XP
I have the following issue where by i am trying to kill a running application that no longer is responding inside windows .
I am ssh from the my unix machine into the windows machine using a script. the script has the following :
for /F "tokens=2" %I in ('TASKLIST /NH /FI "WINDOWTITLE eq application"' ) DO (
TASKKILL /F /PID %I )
TASKKILL /F /PID %PID%
can you see why sometimes the application is not been killed all the time .
the application can be launched a number of times thats why i have in the for loop.
Any ideas why it won't work ?