CMD-NOT-RECOGNIZED

Command Prompt "is not recognized as an internal or external command" Applies to: Windows 7, Windows 10, Windows 11

What it means

Command Prompt can't find the program or command you typed, usually because of a typo, a missing space, or the program not being in a location Windows searches by default (its PATH).

Also seen as: is not recognized as an internal or external command, operable program or batch file

Quick fix steps

  1. Double-check the exact spelling and spacing of the command — a single missing space (like "cd Program Files" vs "cd \"Program Files\"") is enough to trigger this.
  2. If you're trying to run a program by name, confirm it's actually installed and try typing the full file path instead of just the program name.
  3. For a legitimate installed program that still won't run by name, its install location may need to be added to your system's PATH environment variable.
For the full step-by-step walkthrough, see Command Prompt Won't Open.

Frequently Asked Questions

Does this mean the program isn't installed?
Not always — it can also mean the program is installed but Command Prompt doesn't know where to find it (it's not in the system PATH), which is a different, often simpler fix than reinstalling.
Is this the most common Command Prompt error?
It's among the most common, since a simple typo or missing space causes the exact same message as a genuinely missing program, making it worth double-checking your typing first.

Other error codes