JSI Tip 2260. Many instances of CMD.EXE or insufficient memory, DLL initialization failure, or C run-time error on Windows NT?

The subject condition can happen, due to a parser error in Windows NT.

If you invoke a batch file, as an argument to another command, and have a space at the end of the string, the parser causes one of the above conditions. Example:

cmd /c "filename.bat "

The trailing space, within the quote marks, causes the parser to misbehave.

Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish