Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

Batch file gives error "is not recognized as internal command.." after first character

$
0
0

For every batch file I create, I receive the same error displaying after only running the first character in the file: ' d' is not recognized as an internal or external command, operable command or batch file.

This occurs whether I run 'dir' cd '../..' or java.exe

I've confirmed the path environment variable has the correct paths, cmd.exe is assigned to comspec, I'm running as admin, etc. What have I not setup correctly to run batch files. I can run these same commands directly at the command line.

I'm running the latest version of 8.1, on Toshiba Satellite C855


Viewing all articles
Browse latest Browse all 15028

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>