FileNameJoin

WMA link


FileNameJoin[{"$dir_1$“, ”$dir_2$", ...}]

joins the $dir_i$ together into one path.

FileNameJoin[..., OperatingSystem->“os”]

yields a file name in the format for the specified operating system. Possible choices are “Windows”, “MacOSX”, and “Unix”.

FileNameDepth
FileNameSplit