ForceDirectories creates all the directories along a directory path if theydo
not already exist.
Unit
FileCtrl
Category
file management routines
procedure ForceDirectories(Dir: string);
Description
DOS and Windows only allow directories to be created one at a time. For example, to create the C:/APPS/SALES/LOCAL directory, the APPS and SALES directories must exist before the LOCAL directory can be created. Use ForceDirectories to create a directory and all parent directories thatdo
not already exist.