RemoveDirectory

From SCAR Divi Manual
Revision as of 16:10, 2 July 2011 by Freddy (talk | contribs) (See Also)
(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