The path separator used for specifying file names is dependent on the underlying file system. Applications can obtain the path separator by sending either the pathSeparator or pathSeparatorString messages to CfsDirectoryDescriptor class, which answers the path separator as a character, and as a string, respectively. Both have their uses, as demonstrated here:
|