Windows Error “Not reconginsed as an internal or external program”

Solution: This is because the %SystemRoot%\System32 value is not part of the system PATH variable or there is a problem with the Operating System when expanding the %SystemRoot%\System32 to C:\Windows\system32.

Steps to solve this
Check the following as a possible solution:

  • Go to Control Panel > System and Security > and click Advanced system settings
  • Click the Environment Variables…  button
  • Find the Path System variable, highlight it and click the Edit… button
  • Make sure it has %SystemRoot%\System32; in the variable value. If it is missing add it and click OK as shown below