FILESEP FILESEP Directory Separation Character Usage The filesep routine returns the character used to separate directory names on the current platform (basically, a forward slash for Windows, and a backward slash for all other OSes). The syntax is simple: x = filesep