Originally Posted by pauldovi
Say I want to run "this program.exe".
I like how the answer was in his original post. If you want to run "this program.exe" then you run "this program.exe" with the quotes. The quotes must start at the start of the path and end at the end of the file extention. For example
> "my images/my viewer.exe" image1.jpg image2.jpg
will run "my images/my viewer.exe" with arguments "image1.jpg", "image2.jpg" but
> my images/my viewer.exe image1.jpg image2.jpg
will try to run my.exe (or my.com or my.bat, any of the automatic extensions) with the arguments "http://www.overclock.net/images/my
", "viewer.exe", "image1.jpg", "image2.jpg".
You cannot use
> my images/"my viewer.exe"
> "my images/my viewer.exe image1.jpg image2.jpg"
Originally Posted by PhillyOverclocker
Yeah, HTML and other markup languages are not real languages, they are only a way of telling a page how to be formatted.
Very true (assuming by "real language" you mean something like an imperative language or a functional language), though %20 is nothing to do with HTML at all. It is part of the encoding used in URIs. + is an alternative in the URI but it also nothing to do with the HTML. 0x20 is the hexidecimal value of the ascii character for space (32). In other languages other notations are used, such as \\20. In html, it would be & #32;
On Linux you can generally either use quotation marks just as you would in windows or you can escape spaces with a \\. It depends on the shell.