On Wed, 30 May 2012, Daniel Pittman wrote:
On Wed, May 30, 2012 at 2:24 PM, Tony Langdon
At 10:12 PM 5/30/2012, Russell Coker wrote:
ROFL! I haven't tested this one myself, I've always been careful to
quote any path with spaces in it in Windows.
...and, of course, Windows doesn't do quote processing or command line
parsing in any particular standard way, so each process gets the
entire single string with the rest of the command line on it.
Which makes for hilarity as every developer implements command line
splitting and quoting themselves.
I read the source to the borland delphi circa version 1.0 libraries, and
they split out strings separated by spaces, and then joined them back
together with a single space if there were quotes involved.
So "Program Files/MooCow" got converted to "Program Files/MooCow".
Awesome job, dudes!