Difference between revisions of "RemoveDirectory"

From SCAR Divi Manual
Jump to: navigation, search
(Created page with "==Definition== <source lang="scar" lines="false"> function RemoveDirectory(const Path: string): Boolean; </source> ==Availability== SCAR Divi 3.25 > Current ==Description== Rem...")
(No difference)

Revision as of 00:41, 29 June 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.

See Also