Deletes a directory including all files and subdirectories.

DeleteDirectory(cDirectory)

Parameters

cDirectory

The fully qualified path of the directory that should be deleted.

Return Value

Always .T.

Remarks

Note

This function recursivly deletes the WHOLE directory including all files and subdirectories, be careful when using it!

See Also

Reference

ADirectoryInfo
ADirEx
ADriveInfo
AFileAttributes
AFileAttributesEx
CancelFileChange
CompareFileTimes
CopyFileEx
DeleteFileEx
FindFileChange
GetFileAttributes
GetFileOwner
GetFileSize
GetFileTimes
GetLongPathName
GetShortPathName
MoveFileEx
SetFileAttributes
SetFileTimes

Used WinApi functions

RemoveDirectory
DeleteFile
FindFirstFile
FindNextFile
FindClose