Forum > Editor
Library routine for returning the exact name for a case-insensitive filename?
vfclists:
--- Quote from: Geepster on July 06, 2016, 10:13:37 pm ---FileUtil
function FindDiskFilename(const Filename: string): string;
--- End quote ---
Thanks
Kaller:
ExpandFileNameCase function will return the full path as on disk case
type TFilenameCaseMatch = (
mkNone, No file was found
mkExactMatch, The filename can be used to refer to a file on the system (findfirst will find it).
mkSingleMatch, Exactly one match was found, but case didn't match.
mkAmbiguous More than one file will match the filename in a case-insensitive way
:)
Navigation
[0] Message Index
[*] Previous page