Name

DirectoryExists

Synopsis

                  
                  DirectoryExists(path)

Returns Yes if the specified directory exists or No if it doesn’t. The absolute path to the directory being evaluated must be provided. Example:

<cfif DirectoryExists('c:\CfusionMX')>
  Directory exists!
<cfelse>
  Directory doesn't exist!
</cfif>

Get Programming ColdFusion MX, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.