Difference between revisions of "RemoveDirectory"
From SCAR Divi Manual
(Created page with "==Definition== <source lang="scar" lines="false"> function RemoveDirectory(const Path: string): Boolean; </source> ==Availability== SCAR Divi 3.25 > Current ==Description== Rem...") |
(→See Also) |
||
Line 20: | Line 20: | ||
==See Also== | ==See Also== | ||
*[[ForceDirectories]] | *[[ForceDirectories]] | ||
+ | *[[DeleteFile]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
[[Category:File Functions]] | [[Category:File Functions]] |
Latest revision as of 16:10, 2 July 2011
Definition
function RemoveDirectory(const Path: string): Boolean;
Availability
SCAR Divi 3.25 > Current
Description
Removes a directory specified by Path. All subdirectories and files within it will recursively be removed as well.
Example
begin ForceDirectories(LogsPath + 'TestFolder\TestFolderSub\'); RemoveDirectory(LogsPath + 'TestFolder\'); end.