Prototype
DeleteDir(FileName)
Description
It deletes the directory passed as parameter.
Parameters
FileName: string corresponding to the directory name to be created.
Returned value
None.
Notes
None.
Example
// It checks if there is really a directory
Esistente:=DirExists ('c:\files');
// It checks if there is a file within the directory
Esistente:=FileExists ('c:\files\unfile');
// If it doesn't exist then it deletes the directory
If Esistente=False Then DeleteDir('c:\files');
// It executes other operations