in reply to find Process ID on Win XP?

You might try: looking here

Dog and Pony also wrote a killall that might be of use as an example