The CMD no longer recognizes Windows commands

Solved
Hello, I am using Windows 7 Professional. After installing my operating system, the CMD worked fine. But after a while, it stopped working properly. I cannot execute any Windows commands. Even when I type "ping," it says that "ping is not recognized as an internal or external command, operable program or batch file." I don't know why this is happening. It doesn't recognize "ipconfig," "getmac," and many others. Please help me.

Configuration: Windows 7 / Safari 535.19

1 answer

  • Votes
  • Date
  • Descending date
    • Control Panel
    • View by: Category
    • System and Security
    • System
    • Left pane...
    • Advanced system settings
    • Click on Environment Variables...
    • The minimum content of the Path
      %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\
    1. <mypath>My Path does not contain this value, but rather the path of the JDK. What should I do? Should I create another Path or what? My machine requires the JDK. What should I do?</mypath>
    2. You need to modify (edit) the existing path and add the path for Windows.
    3. Thank you! It's working very well. But I can't compile Java programs anymore. Can you help me?
    4. I deleted the JDK path to put the Windows one.
    5. Just add this path to the existing Path.