Old Mac OS before Mac OS X used : as path separator MacintoshHD:Users:yourUserName:Desktop:MyFile.txt. It’s still used for AppleScript. Converting from and to POSIX paths using / happens pretty regularly when writing AppleScript nowadays.
That’s also the reason why : is still an illegal character to use for file names on macOS.
Old Mac OS before Mac OS X used
:as path separatorMacintosh HD:Users:yourUserName:Desktop:My File.txt. It’s still used for AppleScript. Converting from and to POSIX paths using/happens pretty regularly when writing AppleScript nowadays.That’s also the reason why
:is still an illegal character to use for file names on macOS.