RemoveDirectory

From SCAR Divi Manual
Revision as of 00:41, 29 June 2011 by Freddy (talk | contribs) (Created page with "==Definition== <source lang="scar" lines="false"> function RemoveDirectory(const Path: string): Boolean; </source> ==Availability== SCAR Divi 3.25 > Current ==Description== Rem...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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