Replace 'pathSeparator' by 'directorySeparator' as both exist in freepascal, but only one is the correct one.
Replace 'pathSeparator' by 'directorySeparator' as both exist in freepascal, but only one is the correct one.