|Both of these commands are in the system32 folder. Assuming that other commands work there aren't many possibilities.|
1. You are misspelling the commands.
2. The files have been moved or deleted.
3. The system path is set incorrectly. If this is the case you will not be able to run other commands in this folder either.
A problem with the TCP/IP protocol will not cause this error.