Use ListLast(), ListLast("d:\wwwroot\trials\science", "\") will return
"science" (the last member in a \ delimited list).

--- Ben


-----Original Message-----
From: Robert Orlini [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, November 24, 2004 9:52 AM
To: CF-Talk
Subject: get directory name

Using <CFFile> or another tag, is there a way to get the name of
directories?

I have a folder with directory names I need to use in a drop-down list.

For example, in this directory: "d:\wwwroot\trials\science" the name I would
need to isolate would be "science".

Thanks.

Robert O.
HWW




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185293
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to