It looks like it is the slash at the very beginning of the directory name, then.
Try it starting with "c:"
Jerry Johnson
>>> [EMAIL PROTECTED] 12/03/03 04:38PM >>>
The link variable is the desired directory name, not a file.
> Just an idea:
>
> I don't normally put the / at the beginning of the directory string.
>
> Also, is the ldirectory link param a direcrory, or is it a filename you are appending to the dir path?
>
> The cfdirectory takes the path only (not the path and filename)
>
> Jerry Johnson
>
> >>> [EMAIL PROTECTED] 12/03/03 04:31PM >>>
> First time using this tool...
>
> The following string always defaults to the 'doesn't exist' option, even though they do exist.
>
> Anything I'm missing here ?
>
> <cfoutput>
> <CFSET ldirectory = '/e:/Inetpub/wwwroot/rsw/#link#'>
>
> #ldirectory#
>
> <cfif DirectoryExists(#ldirectory#)>
> Directory Exists.
> <cfelse>
> Doesn't exist.
> </cfif>
>
> </cfoutput>
>
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
