Re:Kinda like apt-get, but for Windows
by j-kidd on Wednesday February 06, 2013 @08:46AM
(#5176260)
Because space is not just another character. Space separates args.
[ Parent
| on HN ]
But an installer talking to the operating system shouldn't need to separate arguments anywhere.
Re:Kinda like apt-get, but for Windows
by laumars on Wednesday February 06, 2013 @10:18AM
(#5176751)
Which is why escape characters and quotations were invented
It is an abject failing of software that perfectly reasonable characters are barred from filenames.
which is why most arguments tend to have a way to be recognized like -, -- or /
Re:Kinda like apt-get, but for Windows
by lotyrin on Wednesday February 06, 2013 @03:06PM
(#5178478)
Those are how one differentiates flags from arguments, which is a separate problem.
Kind of.
If your flag is for a path, you can assume everything up to the next flag is a path name.
myprog -filename here is my path with spaces -another_flag
Of course this depends on how the shell gives the arguments to the program.
On the other hand, there is no excuse why some GUI programs cannot handle spaces.