Try cfdirectory and then do a QoQ of the result set.

James E. Thomas 
Baker Botts L.L.P. Web Developer 
office: 713.229.2196 | mobile: 832.373.8117 

 

________________________________

From: [email protected] [mailto:[email protected]] On
Behalf Of Mark Davis
Sent: Wednesday, December 15, 2010 12:34 PM
To: [email protected]
Subject: [houcfug] finding a known filename with unknown extension


I need to search a known folder, for a known filename, but with an
unknown extension.  Could be pdf, rtf, doc, txt...any number of things.
I didn't have any luck trying to use a wildcard  in the FileExists()
function.   I'd prefer to not iterate through all the files in the
directory because there could be thousands in there, some quite large.
Any hints?

Thanks

Mark


-- 
You received this message because you are subscribed to the "Houston
ColdFusion Users' Group" discussion list.
To unsubscribe, send email to [email protected]
For more options, visit http://groups.google.com/group/houcfug?hl=en

Confidentiality Notice: The information contained in this email and any 
attachments is intended only for the recipient[s] listed above and may be 
privileged and confidential. Any dissemination, copying, or use of or reliance 
upon such information by or to anyone other than the recipient[s] listed above 
is prohibited. If you have received this message in error, please notify the 
sender immediately at the email address above and destroy any and all copies of 
this message.

-- 
You received this message because you are subscribed to the "Houston ColdFusion 
Users' Group" discussion list.
To unsubscribe, send email to [email protected]
For more options, visit http://groups.google.com/group/houcfug?hl=en

Reply via email to