News for hackers. Stuff that matters.
Re:Why Does Windows Use Backslash as Path Separator? by saurik on Wednesday April 24, 2024 @08:10PM (#40151572)
FWIW, I have never wanted to put a \ in a filename, but I have often wanted to put a / in a (pretty) filename, as / is used in standard English all the time; I then find myself using "-" instead and that makes me unhappy. I'd much rather have seen ^ as the escape character and \ as the path separator.
Re:Why Does Windows Use Backslash as Path Separator? by hollerith on Wednesday April 24, 2024 @08:12PM (#40151586)
You can put slashes in filenames in MacOS's Finder app. If you use ls to view the filename, you'll see colons where Finder shows slashes.
Re:Why Does Windows Use Backslash as Path Separator? by tracker1 on Wednesday April 24, 2024 @09:53PM (#40152419)
Want to really mess with someone, do that on a mac file share on a windows server... You won't be able to do anything to that file or directory from Windows. Not sure if it's still an issue, but definitely was in the NT4/Win2k days.
Re:Why Does Windows Use Backslash as Path Separator? by saurik on Friday April 26, 2024 @08:47AM (#40168784)
Yeah, because Mac used to : as the separator... but, : is also an extremely commonly-used character that I have off wanted to put in a filename.