The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....



SetFileNameCase


Unit:SDL_filesys
Class:none
Declaration:procedure SetAllFilenameCase (FileMask: string; Upc: boolean);

Sometimes it is necessary to ensure that filenames use all the same case (e.g. when publishing HTML files on unix systems). The procedure SetAllFilenameCase sets all filenames which match the parameter FileMask to either lower or uppercase characters (depending on the parameter upc ). The file mask may contain wildcards. SetAllFilenameCase works recursively an processes all files in all subdirectories of the initial path.



Last Update: 2023-Feb-06