Difference between revisions of "ForceDirectories"
From SCAR Divi Manual
(Created page with "==Definition== <source lang="scar" lines="false"> function ForceDirectories(const Path: string): Boolean; </source> ==Availability== SCAR Divi 3.25 > Current ==Description== Cr...") |
(No difference)
|
Latest revision as of 23:22, 26 June 2011
Definition
function ForceDirectories(const Path: string): Boolean;
Availability
SCAR Divi 3.25 > Current
Description
Creates all directories defined by Path recursively if it does not exist yet. Returns false if the function failed, which is most likely to happen if you do not have permission to write in the directory where you are creating the directories.
Example
begin ForceDirectories(LogsPath + 'TestFolder\TestFolderSub\'); end.