Due to disturbed environmental variables
how to fix not recognized as internal or external command operable program or batch file in windows 10
One of the great things about Windows is that you can perform many of your tasks from the command prompt on your machine. All you have to do is type cmd.exe and Windows will execute it for you. But every now and then you may encounter errors like "not recognized as an internal command".
This is actually one of the most common errors that you can encounter with the command prompt. As the error itself suggests, it could not recognize the tool that you were trying to use with the command prompt. There are several reasons why this happens, and there are also multiple ways to bypass the “not recognized as an internal or external command” error on your Windows PC.
Before you start implementing solutions, it is a good idea to find out why the error occurred. This way you can ensure that the error does not occur in the future.