<div>Prior to this patch, cmd.exe is seriously broke anywhere around the use of a</div><div>parameter with mixed quotes, e.g. c:\"program files"\filename, as well as in</div><div>various other ways.</div><div><br>
</div><div>[Fixes bug 22431, passed as full testbot job 21780]</div><div><br></div><div>FYI:</div><div><br></div><div>Investigations into a number of the remaining todos and bugs raised against the</div><div>cmd shell shows how rubbish the parameter parsing currently is. In fact, reading</div>
<div>the cmd.exe 'help' from windows 7 makes it much simpler, as it lists the special</div><div>characters we therefore need to be careful of, and simple tests can show which act</div><div>as delimiters.</div><div>
<br></div><div>Fixing the parameter parsing routine itself is quite simple (and as a side effect,</div><div>probably makes it suitable for the 'for /f delims= support now when I get there).</div><div><br></div><div>This patch:</div>
<div><br></div><div>- Ensures parameter parsing is on the delimiters windows uses for the command shell</div><div>� which fixes various things like now supporting c:\"a b"\c type syntax, fixing a</div><div>� number of to-do's</div>
<div><br></div><div>- Adds some tests specifically around parameterization (one todo as ^ isnt implemented</div><div>� yet)</div><div><br></div><div>- Adds some tests specifically around parameters with mixed quote and non-quotes</div>
<div><br></div><div>- Changes some for /f tests to todo's, as they previously only passed as a side effect</div><div>� of the poor parameterization by nature of the way the tests are coded.</div><div><br></div>