directoryDelete

Deletes directory for given path

directoryDelete(path, recurse) → returns void

directoryDelete Argument Reference

path string
Required

recurse boolean
Required
Default: false

Values:
  • true
  • false

Examples sample code invoking the directoryDelete function

<cfset delDirectory = "someDirPath" />
<cfset recurse = true />
<cfset directoryDelete(delDirectory,recurse)>

Fork me on GitHub