24
6
I'm trying to use the start
command in the command prompt to open files and folders, but I'm unable to open files and folders that contain space(s) in their name.
I have tried the following queries (testing on C:\Program Files
):
start C:\Program Files
start C:/Program\ Files
start C:/"Program Files"
start C:\"Program Files"
start "C:\Program Files"
start "C:/Program Files"
start C:/Program_Files
start C:/Program%20Files
But none of them work.
4Not strictly speaking the answer you're looking for (hence posted as a comment), but
start c:\progra~1
will do the trick. – Bryan – 2012-11-27T20:21:48.473