I am comparing paths using CompareText or CompareStr depend if is case sensitive filesystem.
Worse solution: what are conditionals for Windows, Linux and other case-sensitive, insensitive systems?
But it is not quite good: in Linux can I read Fat32 or NTFS, while is case insensitive, better would be ask for directory, for example '.' and determine sensitivity.