How can I troubleshoot and resolve the issue of “is not recognized as an internal or external command, operable program or batch file?”

When I was running a particular batch file, I received an error message which was showing that it “ is not recognized as an internal or external command, operable program or batch file”. How can I troubleshoot and resolve this particular issue? 

Answered by Daniel BAKER

 In the context of Salesforce, here are the steps given by which you can resolve the issue of “is not recognized as an internal or external command, operable program or batch file”:-

Checking the PATH variable

Try to ensure that the current directory (.) is appropriately Included in the PATH of the system or not. You can do so by running the Command “echo %PATH%.

Adding the current directory to the PATH

If your current directory is missing, then you can add it by running “set PATH=%PATH%”.

Checking the file extension

Try to ensure that the file which you are trying to implement has the appropriate file extensions or not. If there is not then you would need to specify the extension.



Your Answer

Interviews

Parent Categories