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

前端 未结 14 1439
星月不相逢
星月不相逢 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:25

    I think the reason those suggesting using the C:\PROGRA~1 name have received downvotes is because those names are seen as a legacy feature of Windows best forgotten, which may also be unstable, at least between different installations, although probably not on the same machine.

    Also, as someone pointed out in a comment to another answer, Windows can be configured not to have the 8.3 legacy names in the filesystem at all.

提交回复
热议问题