Summary

The Command Prompt in Windows is a handy utility.

It is a common error and usually occurs due to incorrect command execution.

This article explains the causes and a few troubleshooting steps to help you fix this error in Windows.

fix not recognized as internal external command cmd

Any issues with it can cause the error.

The System32 directory contains essential files, including system commands supported by Command Prompt.

A change in the working directory instructs Command Prompt to look for the specified command in the System32 directory.

cmd change directory cd command

This method should work if the error occurs with any of the system commands.

Verify if the Program Is Installed

Command Promptcant run a program that does not exist.

If you are trying to execute a newly installed program, ensure it is correctly installed.

control panel installed programs

To do this, pressWindows key + I,click onAppsand locate the installed app.

This is likely because Windows does not install most apps in the System32 folder, butC:\Program Filesinstead.

you’re free to fix this mess in three ways:

3.

run programs using full file path

Use the Full File Path to Execute the Command

First, let’s try the full path method.

Here’s how to do it:

4.

Lets say you want to launch the Internet Explorer app located inC:\Program Files\Internet Explorer\iexplore.exevia CMD.

launch internet explorer double quotes cmd

However, running this file path will return an error due to the space betweenProgram FilesandInternet Explorer.

To avoid this, it’s possible for you to insert the file path within a double quote.

Here, the command to launch Internet Explorer will look like this:

5.

edit windows environment variable path

This way, Command Prompt will identify the path for the entered command and execute it without the error.

Here’s how to do it.

To resolve this error, see if the commands are correct and use file paths with spaces within double-quotes.

add file path environment variable

SystemPropertiesAdvanced add systemroot folder path environmental variableJ

move chrome files system32 folder