CreateDir

Top  Previous  Next

Prototype

 

CreateDir(strDirName)

 

Description

 

Creates the directory passed as parameter.

 

Parameters

 

StrDirName: string corresponding to the directory name to be created.

 

Returned value

 

None.

 

Notes

 

None.

 

Example

 

// Check if there is really a directory

bExists:=DirExists ('c:\files');

 

// Create a directory if it doesn't exist

If bExists=False then CreateDir('c:\files');