I am running Vista, so the "taskill" command doesn't work because Vista uses "taskkill" instead. No problem.. just a simple find and replace, right?? not so easy. Modified to read..
echo Stopping combat server process ID %pid%
taskkill %pid%
but that gave error.....
Error: Invlaid syntax, value expected for /PID
So, I looked into it further and rewrote it to be....
taskkill /PID %pid%
but, that gives the error...
Error: invalid syntax. value expected for 'PID'
So.....this %pid% value...hmm.. what handles it??? If the old taskill command was outdated, then the file that creates or assigns the PID probably needs revamping.