A request is not recognized as an internal or external command [SOLVED]

by Vlad Turiceanu
Vlad Turiceanu
Vlad Turiceanu
Editor-in-Chief
Passionate about technology, Windows, and everything that has a power button, he spent most of his time developing new skills and learning more about the tech world. Coming... read more
Affiliate Disclosure
A request is not recognized as an internal or external command
XINSTALL BY CLICKING THE DOWNLOAD FILE
A message from our partner

To fix Windows PC system issues, you will need a dedicated tool

  • Download Fortect and install it on your PC
  • Start the tool's scanning process to look for corrupt files that are the source of your problem
  • Right-click on Start Repair so the tool can start the fixing algorithm
Download from Fortect.com Fortect has been downloaded by 0 readers this month, rated 4.4 on TrustPilot

The Windows OS is keeping a list of paths to the location of the most accessed programs called Windows Environment Variables and it can access them easily. Sometimes, this list gets corrupted or messed up and that’s when a request is not recognized as an internal or external command, operable program or batch file.

Before anything else, look in the System32 folder to see if the program you’re trying to access exists. If it’s there and you can’t run it, then go to the solutions.

How do I solve Windows Environment Variables errors?

Solution 1 – Set the path in Windows Environment Variables

  1. In the Windows search box type environment and click on the first result(Edit the system environment variables).open system environment variables A request is not recognized as an internal or external command windows 10
  2. On the Advanced tab, in the bottom right, click on Environment variables… Environment Variables A request is not recognized as an internal or external command
  3. Under System variables, in the list, locate Path and click on it. Then click Edit.
  4. Optional step: copy all the paths there and put them in a notepad for safekeeping, just in case something goes wrong.
  5. Now check to see if the directory path of the program you’re trying to access is there. If it’s not, you’ll have to add it.
  6. Click on New and type the directory path of the program you’re trying to access (for example C: >Windows >System32).
  7. Click OK on all windows and then restart your PC.

After the restart, if you added the directory path properly, everything should work fine. Keep in mind that you can add new directory paths but you can also edit the old ones that are no longer valid.


We’ve written extensively about adding and editing the path for variables before. Bookmark this page in case you need it later. 


Solution 2 – Set the value of PATHEXT Environment Variable

  1. In the Windows search box type environment and click on the first result(Edit the system environment variables). open system variables A request is not recognized as an internal or external command
  2. On the Advanced tab, in the bottom right, click on Environment variables… choose environment variables A request is not recognized as an internal or external command
  3. Under System variables, in the list, locate PATHEXT and click on it. The click Edit.
  4. Under Variable value, you can add or delete a new extension manually. You also have the options to Browse Directory… or Browse File… to add new extensions. edit system variable hot to solve windows environment errors
  5. Check the file extension of the program you’re trying to access and then add it to the PATHEXT list of default extensions.
  6. Click OK on all windows and then restart your PC.

After you set the correct values of the environment variables, everything should work fine and you’ll be able to access your programs on Windows 10 without any problems.

If you have any more questions, feel free to reach for the comments section below.

RELATED STORIES YOU SHOULD CHECK OUT:

This article covers:Topics: