You can even mix and match! C:\tmp/file.txt is valid. Very helpful for cross-os compatibility.
C:\tmp/file.txt
Does only windows do this or do Linux and mac work with both slashes too ?
I thought linux was pretty strict with this
Windows is the odd one out, everywhere else uses forward slash.
On classic MacOS the path separater was a ":".
I use Arch btw
Sister communities:
Community rules
Please report posts and comments that break these rules!
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
Windows is the odd one out, everywhere else uses forward slash.
On classic MacOS the path separater was a ":".