No idea when this happened but you can also use forward slashes in Windows. So typing
c:/users
into the Explorer address bar works.You can even mix and match!
C:\tmp/file.txt
is valid. Very helpful for cross-os compatibility.Does only windows do this or do Linux and mac work with both slashes too ?
I thought linux was pretty strict with this
only windows, afaik. On linux \ is the escape symbol
Windows is the odd one out, everywhere else uses forward slash.
On classic MacOS the path separater was a “:”.
Beat me to it. It works in CMD/PowerShell too. It’s easier to just train your muscle memory to always use / regardless of platform
I use forward slashes in all of my software’s paths, so I don’t have to fiddle around with it when I’m porting to Linux (in the future, I’ll likely go from “dev on Windows, port to Linux” to "dev on Linux, port to Windows).
This is what happens when you have Windows coming out of the CP/M micro operating system family and everybody else is some kind of Unix derivative.
Linux is the force itself, Mac and Windows are both stormtroopers that try to shoot each other but don’t hit.
Or rather, being tech savvy is the force. You can then choose sides. Personally I’m with the open-force community.
You have my first comment save on lemmy, stranger.
Dont worry guys, we can deal with this.
Boots up beatsaber
touch /\0
to the top, this post belongs