I have an HP laptop with a Windows 7 32-bit Home Premium operating system. My command prompt doesn't run lots of commands like help, shutdown, ipconfig, ping, etc. I get a message like:
'help' is not recognized as an internal or external command, operable program or batch file.
Only simple commands like cd and dir are working. I noticed that whenever I navigate to c:/windows/system32
, the command works. But I need to run some important commands like java on a file that is on the desktop and not in the system32 folder.
How can I fix this?
c:/windows/system32
folder in the path. Open command prompt. Enterpath
command. See whether it containsc:\windows\system32
is in it or not. If not add it. You can use all the above mentioned commands.%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\Syste m32\WindowsPowerShell\v1.0\;C:\Program Files\Microsoft\Web Platform Installer\;C :\Program Files\Java\jre7\bin;