为什么在引号中包装CMD的起始参数会导致它的行为不同?

Jam*_* Ko 0 windows cmd batch-file command-prompt

这占用了我在批处理脚本中调试的大部分时间:

:: Opens up Chrome
start C:\cygwin64\home\james\code\cs\PolynomialReducer\reports\PolynomialReducer.Tests\index.htm

:: Opens a new command prompt
start "C:\cygwin64\home\james\code\cs\PolynomialReducer\reports\PolynomialReducer.Tests\index.htm"
Run Code Online (Sandbox Code Playgroud)

start如果将参数包装在引号中,为什么/有什么理由命令行为不同?

Mag*_*goo 5

第一个引用的参数被假定为窗口标题.如果start在引用命令之间插入一组空引号,则应遵守预期的行为.