How about something like this?

#DirectoryExists("C:\temp\test\data\123\")#

---mark

========================================================
Mark Warrick ([EMAIL PROTECTED])
Founder, Fusioneers.com / CTO, ZapConnect.com
Phone: 714-547-5386 / 714-667-0203 / Efax: 801-730-7289
http://www.warrick.net / http://www.fusioneers.com
http://www.zapconnect.com
ICQ: 125160 AIM: markwarric Yahoo: Serengeti
========================================================
 

> -----Original Message-----
> From: phumes1 [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, June 20, 2002 10:55 AM
> To: CF-Talk
> Subject: <cfif... not working properly?
> 
> 
> Hi,
> 
> In this example the results from my #URLDecode(dir)# is 
> "C:\temp\test\data\123\"
> 
> I'm trying to check is the directory "data" exists in the 
> variable and if so, do something else.
> The syntax below is not working properly. What am I doing wrong?
> 
>                       <cfif ListFindNoCase(URLDecode(dir),"\data")>
>                               <h5>You are in the data directory</h5>
>                       <cfelse>
>                                            <h5>You are somewhere else</h5>
>                       </cfif>
> 
> 
> 
> 
______________________________________________________________________
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to