DeleteDir

Top  Previous  Next

Prototype

 

DeleteDir(FileName)

 

Description

 

Deletes the directory passed as parameter.

 

Parameters

 

FileName: A string containing a valid path and directory.

 

Returned value

 

None.

 

Notes

 

None.

 

Example

 

// Check if there is really a directory

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

 

// If it exist then it deletes the directory

If bExists Then DeleteDir('c:\files');