DirectoryDelete()
For the given directory deletes the contents of the file
Usage
BOOLEAN = DirectoryDelete(
path,
recurse
)
Argument | Summary |
---|---|
path | the path of the directory to delete |
recurse | whether it should delete all the sub-directories [optional] |
Calling
Supports named-parameter calling allowing you to use the function like:
DirectoryDelete( path=?, recurse=? );
Supports passing parameters as a structure using ArgumentCollection:
DirectoryDelete( ArgumentCollection={ path : ?, recurse : ? } );
See Also
DirectoryCreate
DirectoryDelete
DirectoryExists
DirectoryList
Expandpath
FileClose
FileCopy
FileDelete
FileExists
FileIseof
FileMove
FileOpen
FileRead
FileReadbinary
FileReadline
FileSeparator
FileSetaccessmode
FileSetattribute
FileSetlastmodified
FileUpload
FileUploadall
FileWrite
FileWriteline
GetDirectoryfrompath
GetFilefrompath
GetFileinfo
GetTempdirectory
GetTempfile
Unzip
Zip
Ziplist