ForceDirectories

Declaration: ForceDirectories (Dir: string): boolean;
ForceDirectories creates a new directory as specified in Dir, which must be a fully-qualified path name. If the directories given in the path do not yet exist, ForceDirectories attempts to create them. The function returns TRUE if it successfully creates all necessary directories.