Field-Map Scripting

4.4.3.2 CreateDir

CreateDir function


Prototype:

function CreateDir(const Path: string): boolean;

Description:

Use this function to create new directory in ProjectDir or in any other path.

Syntax:

variable := Project.CreateDir(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 newly created folder delimited with ' ' (if no path is inserted, the file is created in ProjectDir)


Return value:


True/False



See also:

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