How do I specify C:\Program Files without a space in it for programs that can't handle spaces in file paths?

前端 未结 14 1407
星月不相逢
星月不相逢 2020-12-01 04:39

A configuration file needs position of another file,

but that file is located in \"C:\\Program Files\",

and the path with space in it is not recognized,

14条回答
  •  渐次进展
    2020-12-01 05:42

    No.

    Sometimes you can quote the filename.

    "C:\Program Files\Something"
    

    Some programs will tolerate the quotes. Since you didn't provide any specific program, it's impossible to tell if quotes will work for you.

提交回复
热议问题