Command Prompt Not Running Commands

less than 1 minute read


If you open up the Command Prompt and everything you enter is replying with an error like “not recognized as a batch file…” then try these steps.

To Resolve:

  1. Start menu => type “cmd” or find the “Command Prompt” icon- right click and “run as” administrator.

  2. It can also be environmental issues:

    • Open System Properties- Advanced- Environmental Variables
    • Find “path” and make sure it has the following: %SystemRoot%system32;%SystemRoot%;%SystemRoot%System32Wbem;%SYSTEMROOT%System32WindowsPowerShellv1.0 at the very least. Programs register themselves in this path, but the main path for CMD is the system32 folder.
    • Click okay, close, run “cmd” and run a command. Should work.