>In what way's does it get trickier? Is it because we need information on the task that is difficult to find?
It's because you need to pass TerminateProcess() a handle to the process you want to kill, and getting that handle isn't easy. It involves a bit more code than just
RUN kill.exe 1407
.
Mike Stewart