> <cfdirectory action="READ" 
> directory="path-to-your-directory" name="dir">
> 
> <cfdump var="#dir#">

I'm going to add to adrian's code here: 

<cfdirectory action="read" name="dir"
filter="#nameoffile#.*" directory="#directory#" />

The filter attribute of "nameoffile.*" will return all the files in that
directory that have the same name and any extension. Works just like a
dos dir command 

dir nameoffile.* 

or equivalent *nix command (do wildcards for ls work the same way?) 


-- 
s. isaac dealey  ^  new epoch
 isn't it time for a change? 
     ph: 781.769.0723

http://onTap.riaforge.org/blog



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312200
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to