Comment by 323 4 years ago Laughs in C:\PROGRA~1\ (try it, still works in Windows 10) 18 comments 323 Reply Someone 4 years ago Apart from what others mentioned, that can only work if the file system automatically creates 8.3 names. NTFS does not necessarily do that (https://docs.microsoft.com/en-us/windows-server/administrati...) the_mitsuhiko 4 years ago There is no guarantee that the short name has that. In fact on a lot of German Windows installations it was PROGRA~2. 323 4 years ago Well, on my disk PROGRA~1 is "Program Files" and PROGRA~2 is "Program Files (x86)", so still works :) floatingatoll 4 years ago That order is not guaranteed consistent across installations, however. 9 replies → TowerTall 4 years ago And on mine (Windows 11) "PROGRA~3" is "ProgramData" selfhoster11 4 years ago Truly lifesaving for when she'll quoting gets in the way. kijin 4 years ago You've got a stray single quote in your shell. :) selfhoster11 4 years ago That was a typo, but it seemed like a perfect illustration of my point, so I left it in. 1 reply →
Someone 4 years ago Apart from what others mentioned, that can only work if the file system automatically creates 8.3 names. NTFS does not necessarily do that (https://docs.microsoft.com/en-us/windows-server/administrati...)
the_mitsuhiko 4 years ago There is no guarantee that the short name has that. In fact on a lot of German Windows installations it was PROGRA~2. 323 4 years ago Well, on my disk PROGRA~1 is "Program Files" and PROGRA~2 is "Program Files (x86)", so still works :) floatingatoll 4 years ago That order is not guaranteed consistent across installations, however. 9 replies → TowerTall 4 years ago And on mine (Windows 11) "PROGRA~3" is "ProgramData"
323 4 years ago Well, on my disk PROGRA~1 is "Program Files" and PROGRA~2 is "Program Files (x86)", so still works :) floatingatoll 4 years ago That order is not guaranteed consistent across installations, however. 9 replies → TowerTall 4 years ago And on mine (Windows 11) "PROGRA~3" is "ProgramData"
floatingatoll 4 years ago That order is not guaranteed consistent across installations, however. 9 replies →
selfhoster11 4 years ago Truly lifesaving for when she'll quoting gets in the way. kijin 4 years ago You've got a stray single quote in your shell. :) selfhoster11 4 years ago That was a typo, but it seemed like a perfect illustration of my point, so I left it in. 1 reply →
kijin 4 years ago You've got a stray single quote in your shell. :) selfhoster11 4 years ago That was a typo, but it seemed like a perfect illustration of my point, so I left it in. 1 reply →
selfhoster11 4 years ago That was a typo, but it seemed like a perfect illustration of my point, so I left it in. 1 reply →
Apart from what others mentioned, that can only work if the file system automatically creates 8.3 names. NTFS does not necessarily do that (https://docs.microsoft.com/en-us/windows-server/administrati...)
There is no guarantee that the short name has that. In fact on a lot of German Windows installations it was PROGRA~2.
Well, on my disk PROGRA~1 is "Program Files" and PROGRA~2 is "Program Files (x86)", so still works :)
That order is not guaranteed consistent across installations, however.
9 replies →
And on mine (Windows 11) "PROGRA~3" is "ProgramData"
Truly lifesaving for when she'll quoting gets in the way.
You've got a stray single quote in your shell. :)
That was a typo, but it seemed like a perfect illustration of my point, so I left it in.
1 reply →