I know, I know. That way madness lies.
The title refers to this great answer. I would just like to settle, once and for all, whether or not it actually is possible to do something like this:
cmd /C start c:\program files (says "Windows cannot find c:\program)
cmd /C "start c:\program files" (ditto)
cmd /C start "c:\program files" (opens another command window)
cmd /C start \"c:\program files\" (says "Windows cannot find \"c:\program files\")
cmd /C "start \"c:\program files\"" (ditto)
cmd /C "start ^"c:\program files^"" (opens another command window)
rem Ad nauseam.
All I want to do is launch a folder or url that may have spaces in the name. Is this "advanced"?
I have seen this question, but \"
is not working in the above.
I am calling this from a WScript.Shell object in VFP, so I have to pass the entire command as a single string. But I'd like to settle the more general question for reference.