Edit: My investigation revealed that it might be related to the direction of slashes... So for instance, C:/PROGRA1\R (or even C:/PROGRA1) works in Windows Explorer, but only as long as the second slash is a backslash... Can this be of any help in resolving this issue? Doesn't seem like R wants to put that second slash as backslash... Edit 2: My answer below was deleted so here it is again ...
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, Is there another way to specify the location
How do I specify C:\Program Files without a space in it for programs ...
And it appears that if there are more than one folder with the same six first symbols in its name, I can use FOLDER2 and so on, and it will open the corresponding folder, as if I entered its full name. Like c:\progra1 will open C:\Program Files and c:\progra~2 will open C:\Program Files (x86) on win7 64 bit. How does this work?
r - Error: "Windows can't find 'C:/PROGRA~1/'. Check the spelling and ...
It's a compatability mode with the old (really old) windows 8.3 naming convention. The n represents the instance of the name that has the same root characters. In your example: Program Files and Program Files (x86) have the same root characters Progra. Hence one gets progra1, the next progra~2 etc. 8.3 compatability can be turned off for a disk partition.
I need to use shortened path names for an application that I am using. For example I need C:\PROGRA~1\ as opposed to C:\Program Files. The program can't handle spaces and won't accept quoted paths ...