Jump to content

Recommended Posts

Posted

I've been writing a script to remove a program. It requires that it be killed before it gets removed.

I've been using ProcessExists to get the PID, and then ProcessClose if it's running and it works perfectly in Windows XP.

However, when I move onto Windows 2000, It doesn't. When I view the process name in Taskmanager, the processname is truncated.

The exectuable is SmartEnforcer.exe but it displays in Windows 2000 as SmartEnforcer.e

Has Windows 2000 always been like this? Using pskill from sysinternals displays the same information.

Any thoughts on how to work around this? I can add a second kill statement for SmartEnforcer.e but that's fixing the symptom. What's causing the problem?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...