Windows is not case-sensitive for file and directory names but it preserves the case.
I need in a Delphi program to be able to verify the existence of a directory but also the fact that the name I check respects the case of the existing directory.
My code will looks like :
then if TheNameIsTheSame(Dir) // hypothetical function ....
The question is that I don't know how to check that Dir respects the existing directory case
Better, I want to get from Windows the exact name of the directory