The best thing about Windows is that guys are able to get lots of your tasks completed from the Command Prompt on your machine. However, you have to enter cmd.exe & Windows will run it for you. Sometimes you probably come across errors such as “is not recognized as an internal command”. In this tutorial you will learn the way to fix this error “not recognized as an internal or external command” occurs in Windows.
This is basically one of the most usual errors you are also able to face with the Command Prompt. Just as the error itself recommends, it could not recognize the tool you were trying in order to use with the Command Prompt. Different reasons are there why it occurs. And enormous ways are also there to get around the “not recognized as an internal or external command” error on your Windows Computer.
Causes of this error “not recognized as an internal command”
Well, before you guys start applying resolves, it is the best idea in order to learn why the error occurred. However, you can also ensure it does not happen again in the future.
Other Applications Messing Up Your System
Similalry, the most common reason guys probably get this error on your Computer is just that another installed application modified your system variables. Although this also stops the Command Prompt just from recognizing commands to organize other apps or tools.
Not Having The Program Installed On Your PC
However, the second possible cause the “not recognized as an internal or external command”. This error takes place is that you do not have a suitable program installed on your computer. It probably is that the installer did not install the app files at a suitable location. Or the installer did not enable the tool to be organized with Command Prompt.
Also see this article: DHCP Lease Time: What Is DHCP Lease Time? How To Change?
Resolving The “not recognized as an internal or external command” Error In Windows
Although the cause, there are methods to resolve this error & get the Command Prompt to recognize the program that you are trying to use.
Ensure The Program Actually Exists On Your Computer
Alright guys the first thing which you have to do is that in order to verify whether the program that you are trying to use with the Command Prompt basically exists on your PC. You probably use a fake installer that told you that the program efficiently installs on your machine, but that probably not true.
There is the simplest way to check whether the program indeed installs on your machine.
- First of all, you have to organize a File Explorer window on your computer.
- Here head over to the following path.
- Now make sure the executable that you are trying to run from the Command Prompt is available in this folder. Whether it is not, the program probably not install on your PC.
The above is not a surefire way to check whether a program installs on your PC. Similarly, this is because not all programs keep their files in the Windows System32 folder. So it should support you to locate most programs.
Must read: Csrss.Exe: Explain Csrss.exe And Is It Safe?
Use The Full Path To The Executable File
However, the “is not recognized as an internal command” error basically occurs. Just because the computer is unable to find the executable that you guys are asking it to organize. Though you can also offer it with the full path to your executable file. It should be able to manage it just without any problems.
- First of all, you have to organize a Command Prompt window on your computer.
- Here you should type in the full path of the executable that you also like to use. Hit Enter on your keyboard.
- For instance, whether you are trying to use adb.exe. That locates in a folder which is known as adb on your desktop. You will type something just like the following.
- The file should organize without an issue.
Enclose The File Path With Double Quotes
Identifying the full path to your executable file is not a bulletproof process. It can also cause the “ not recognizes as an internal or external command” error. Whether it is not used suitably. The issue lies in the path that you guys identify in your Command Prompt window.
Whether your executable file’s full path also has any spaces in it. That is going to cause the error. However, this is just because the utility unable to recognize the spaces. And it uses the characters up to the first space as a program name. After all that is not the correct path, you guys will get the aforementioned error.
You are also able to fix this using the following method.
- Whilst typing in a path that also has spaces (if single or multiple). Here enclose the path with double-quotes.
- Then the Command Prompt will recognize the complete path as a single item. Organize the program suitably on your machine.
Move The File To System32 Folder
By this time you know that when you guys try to manage an executable just from the Command Prompt utility. However, it also looks into the System32 folder of your Windows installation. Next open the file, whether it’s available there.
What whether you guys could place your executable file there & then access it simply from the Command Prompt? You are also able to do this as long as you have admin access on your PC.
- Here you must have to copy the executable file along with all other files simply associated with it to the following folder on your PC.
- Now close Command Prompt whether it was already open and reorganize it.
- Now enter the name of your executable file just without any path. And you will find it organizes successfully.
Whilst this method also works best and helps you resolve the “is not recognized as an internal or external command” error on your PC. You probably want to use it cautiously.
However, this is just because each time you guys like to use something just from the Command Prompt. You will need to put the suitable executable in the System32 folder. In the end, the folder will grow large & you will also have a large number of files sitting in there.
Similarly, it also won’t work for executable tools that need installation into a particular directory. Though you guys won’t be able to move those into the System32 folder. After all the installation path is defines in the Windows Registry.
We suggest you only use this solution whether you guys are unable to fix the issue. By using the other methods and as long as the app does not require installation.
Add The Executable File Path To Environment Variables
The most systematic way to resolve the “is not recognized as an internal command” error is to edit your environment variable. Add the suitable file path there. This is just because the Command Prompt utility seems like those paths when you guys enter a command. Next opens the file whether it finds it in one of those directories.
Simply by adding your file path there, you are telling Command Prompt where a definite executable is located. So when you want to use it by its short name in a CMD window.
It’s straightforward to edit your variables & add a new path there.
- First of all, you have to organize Control Panel by using the Cortana search on your PC.
- Now tap on the option that says System and Security.
- Find & click on System on the following screen.
- Choose Advanced system settings from the left sidebar on your screen.
- However, a box will then open on your screen. Now tap on the Environment Variables button which is located at the bottom of the box.
- You guys will also see all the user variables for your account. Tap on the one that says Path and next tap on the Edit button.
- You guys are also able to now add the new path to the app you like to use with the Command Prompt. Tap on Browse in the right sidebar to add a directory to the list.
- Here you have to navigate to the folder where your executable is located & select it.
- So you should view your newly added path is listed in the variables list. Tap on OK at the bottom to save the conversions.
- Tap on OK in all other boxes as you close them.
- Finally, head to a Command Prompt window. Type the name of the executable file. You will also see that the file opens just without CMD throwing any errors on your screen.
Furthermore, the “is not recognized as an internal command” error. It can occasionally be very annoying. As it won’t allow you to use a program that you know you have installed on your computer.
Must read this article: How to Fix “Instruction at Referenced Memory Could Not Be Read”
Therefore just by using the methods above, you guys should also be able to get rid of this error. Run any program from a Command Prompt window just without any problems. Whether any of the processes above helped you resolve the issue, we would like to know about it in the comments below.