I am baffled why one will return true and the other false.
In this first one, I am specifying the path.
The second one, I am using the expand path.
Why would one say no it does not exists when the
second one will. The *.* should have no affect on a
directory exists function.
Please tell me it is something simple and I just have not
seen it yet due to lack of caffeine.
<CFOUTPUT>
<cfset thisDir = "c:\inetpub\wwwrooot\">
First Path: #thisDir#<BR>
Directory Exists: #DirectoryExists(thisDir)#<BR>
<BR>
<cfset thisPath = ExpandPath("*.*")>
Second Path: #thispath#<BR>
<cfset thisDirectory = GetDirectoryFromPath(thisPath)>
Directory Exists: #DirectoryExists(thisDirectory)#
</CFOUTPUT>
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
[Donations and Support]
- RE: Baffled by DirectoryExists Adkins, Randy
- RE: Baffled by DirectoryExists Paul Vernon
- RE: Baffled by DirectoryExists Micha Schopman
- RE: Baffled by DirectoryExists Adkins, Randy
- RE: Baffled by DirectoryExists Adkins, Randy
- RE: Baffled by DirectoryExists Pascal Peters