$ 0 0 With some work, I can use TASKLIST piped to FSEARCH to find the PID with an asterisk after it and then extract the PID. Can anyone suggest an easier way?