# Funktionsreferenz

DirRemove

Deletes a directory/folder.

DirRemove ( "path" [, recurse] )

Parameter

path | Path of the directory to remove.
recurse | [optional] Use this flag to specify if you want to delete sub-directories too. 0 = (default) do not remove files and sub-directories 1 = remove files and subdirectories (like the DOS DelTree command)

Bemerkungen

Keine.

Siehe auch

DirCreate, FileRecycle

Beispiel

; Delete C:\Test1 and all subdirs and files
DirRemove("C:\Test1", 1)