1.

Solve : Kill an application started through a Novell Client running in Windows XP?

Answer»

Dear all,

How do I kill an application running in Windows XP, that was started through a Novell Client net, using a batch file?
The command Taskkill /f / im [image name] doesn't work.

Thanks for your helptaskkill /f /im imagename


k first off , /F and /IM are both written beside the slash

taskkill /F /IM Imagename.exe

if you cant taskkill with the image name, type tasklist Notice under the PID column the PID NUMBER and use this example, 1000 is the example pid number


TASKKILL /F /FI "PID ge 1000"

I suspect that Windows can only see the Novell client and not the task running inside the Novell environment. This would be similar to the Windows command shell where Windows can see the shell program but not individual programs running within the shell. You MAY have to kill your program from within the Novell environment.


Hi guys!

Thank you for helping me to solve my problem.
Both hints were very helpfull.
The taskkill /f /im wasn't working because XP and MS DOS "see" different things.
XP "sees" the "real name" of the application as SHOWN on the XP Task Manager box.
MS DOS, on the other hand, "sees" the same application but with a general application name "ntvdm.exe".
The tasklist command ENABLED me to FIGURE out this difference and get the actual image name of the application "seen" by MS DOS: ntvdm.exe.
With the right im the taskkill /f /im command worked perfectly and properly.
Thank you very much.



Discussion

No Comment Found