###Function###
DirRemove

###Description###
Deletes a directory/folder.

###Syntax###
DirRemove ( "path" [, recurse] )


###Parameters###
@@ParamTable@@
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)
@@End@@

###ReturnValue###
@@ReturnTable@@
Success:	Returns 1.
Failure:	Returns 0 if there is an error removing the directory (or if directory does not exist).
@@End@@


###Remarks###
Some dir attributes can make the removal impossible.

###Related###
DirCreate, FileRecycle, DirCopy, DirMove, FileDelete


###Example###
@@IncludeExample@@
