Also just for a bit of information. The Taskkill and Tasklist commands only work in Windows XP. In Windows 2000, I think the command would only be "kill" and not "taskkill". I'm not sure if there is an equivelent for tasklist.
I may be wrong, but I'm pretty sure this is the case.