Field-Map Scripting

4.4.3.3 DeleteDir

DeleteDir function


Prototype:

function DeeletDir(const Path: string): boolean;

Description:

Deletes specific directory in ProjectDir or in any other path.

Syntax:

variable := Project.DeleteDir(Path);


Part

Description


variable

variable declared as boolean


Project

A reference to the Field-Map project as defined in Field-Map Project Manager


Path

Directory path with the name of  folder to be deleted delimited with ' ' (if no path is inserted, the file is deleted from ProjectDir)


Return value:


True/False



See also:

DeleteFile; CreateDir; DeleteDir; GetFilesOfDir; OpenFileByWindowsAssociation; SaveStringToIniFile; SaveIntegerToIniFile; SaveDoubleToIniFile; SaveBooleanToIniFile; LoadStringFromIniFile; LoadIntegerFromIniFile; LoadDoubleFromIniFile; LoadBooleanFromIniFile; ExtractFilename; ExtractFilePath; FileExists; DirectoryExists