Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

SYMPTOMS

...

While running any windows command from the command prompt (e.g. XCOPY, SQLCMD, PING) or from inside a program (e.g. ODAC setup, AutoUpdate etc.) you may receive the above error where '<command>' stands for 'XCOPY' or 'PING' etc.

...

  1. The PATH environment variable is not properly configured, i.e. the folder containing the command file is not found in any of the folder locations specified in the PATH variable. 
    (E.g. PING.EXE is located in C:\Windows\System32 but C:\Windows\System32; is not found in any of the folders specified in the PATH variable.)
  2. The PATHEXT environment variable is not configured properly. This variable identifies the default file extensions that Windows will assume when an external command is run without extensions. 
    (E.g. when XCOPY is given at the command prompt, Windows searches for a file named XCOPY.EXE in all the folders specified in the PATH variable.)

RESOLUTION

...

To resolve the above error - 

  1. Check if the folder containing the external command is included in the PATH environment variable. Add the folder path if it is not found.
    Refer: How To: View the value of Windows environment variables 
    Refer: How To: Set the path PATH variable in environment variable in Windows

  2. Check the value of the PATHEXT environment variable. The value of this system variable is generally “.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC” (without the quotes). Some of the default extensions are added by programs installed in the target system and may not be applicable for you. Correct the anomalies in the PATHEXT variable if the ".COM;.EXE;.BAT;.CMD" extensions are not found with the values mentioned above.
    Refer How To: Set the path PATH variable in environment variable in Windows

This should resolve your issue, in case you face it again please contact our Ginesys Care portal - https://care.ginesys.in/ 

...

Filter by label (Content by label)
showLabelsfalse
max5
spacesPUB
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel = "kb-troubleshooting-article" and type = "page" and space = "PUB"
labelskb-troubleshooting-article