Hacker News new | ask | show | jobs
by zvrba 1637 days ago
Ah, quoting in cmd is its own kind of hell. Not so fun fact and actually the only part of Windows APIs that I truly hate (and I've worked with many of them): command-line arguments are passed to the program as a single flat string. Splitting into the argc,argv array is left to the CRT startup code.
1 comments

That comes from compatibility with MS-DOS ways of dealing with arguments.