News for hackers. Stuff that matters.
Re:Why Does Windows Use Backslash as Path Separator? by jasomill on Thursday April 25, 2024 @02:38AM (#40154207)
This is fine for parsing command line arguments in your own programs, but unhelpful when attempting to provide a mechanism to reliably pass a user-supplied argument list to an arbitrary external program that is free to interpret the string returned by GetCommandLine arbitrarily (so the notion of "passing a list of arguments" isn't even generally applicable).

cmd.exe is an important and terrible example:

https://learn.microsoft.com/en-us/windows-server/administrat...

There are no comments on this comment yet.