Windows

Windows Error “Not recognised as an internal or external program” – Environment Variable

For more details, see how the environment variable was set for Cygwin https://techdirectarchive.com/2020/03/01/ansible-installation-on-windows/

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:Windowssystem32.

Steps to solve this
Check the following as a possible solution
– Go to Control Panel
– System and Security 
– Click Advanced system settings

Or

– From the Control Panel
– Click on System and Setting
– Click on System
– Click on 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

https://www.gfi.com/support/products/Error-Program-is-not-recognized-as-an-internal-or-external-command-operable-program-or-batch-file-9009-when-deploying-patches

Buy me a coffeeBuy me a coffee

Advertisements
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x