How does the Windows Command Interpreter (CMD.EXE) parse scripts?
问题 I ran into ss64.com which provides good help regarding how to write batch scripts that the Windows Command Interpreter will run. However, I have been unable to find a good explanation of the grammar of batch scripts, how things expand or do not expand, and how to escape things. Here are sample questions that I have not been able to solve: How is the quote system managed? I made a TinyPerl script ( foreach $i (@ARGV) { print \'*\' . $i ; } ), compiled it and called it this way : my_script.exe