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:\cfusion')>
  Directory exists!
<CFELSE>
  Directory doesn't exist!
</CFIF>

Get Programming ColdFusion 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.