PATH=C:\Program Files\Java\jdk1.6.0_01\bin;C:\Program Files\Java\jdk1.6.0_01\bin
I thought as much! I was right!
That is why shutdown.exe (and
every other external command!!!!) won't work from the command prompt. Somehow your PATH variable has got seriously corrupted! This is a standard PATH as found on a new XP install
C:\Windows\System32\;C:\Windows\;C:\Windows\System32\Wbem
Additions are supposed to be tacked on at the end, it looks like yours got nuked by whatever put that Java stuff there.
Here's how to put things right
1. Right click My Computer, choose properties.
2. Choose Advanced tab.
3. Click on Environment Variables button.
4. in the System Variables (lower part) Highlight PATH. (You have to scroll down)
5. Click the Edit button.
6. The "Edit System variable" dialog comes up.
7. The whole PATH string will be highlighted. Hit the END key to unhighlight it and position the typing cursor at the end.
8. Type a semicolon ( ; ) at the end so it reads like this
C:\Program Files\Java\jdk1.6.0_01\bin;C:\Program Files\Java\jdk1.6.0_01\bin;
9. Copy this whole line to the clipboard
C:\Windows\System32\;C:\Windows\;C:\Windows\System32\Wbem
10. Paste it at the end of your PATH so it looks like this
C:\Program Files\Java\jdk1.6.0_01\bin;C:\Program Files\Java\jdk1.6.0_01\bin;C:\Windows\System32\;C:\Windows\;C:\Windows\System32\Wbem
11. OK three times to come right out.
12. Reboot
13. Check PATH looks like above.