FPC RTL file functions will convert either to the native path seperator. It'll also handle repeated seperators of diffent types, but if you want to be certain then use DirectorySeparator