?
Solved

Cfdirectory

Posted on 2003-03-22
5
Medium Priority
?
241 Views
Last Modified: 2013-12-24
I'm using cfdirectory to try to get a list of all *.cfm on my server. However, using <cfdirectory directory="c:\blah" .... > only gives me whatever is in the blah folder. Is it possible to include all subdirectories?

example- in dos dir *.txt only returns results in current folder. however dir *.txt /s returns all subdirectories under that folder.
0
Comment
Question by:sferret
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 

Accepted Solution

by:
demarco earned 225 total points
ID: 8190268
You migh Find the custom tag  <CF_DirectoryList_Enhanced>
More suited to your needs

http://www.macromedia.com/v1/developer/taggallery/details.cfm?component_ID=999
 
 
 
 
0
 
LVL 11

Expert Comment

by:hart
ID: 8193038
you could create a custom tag that acts according to your choice.

The logic is very simple.
give the root folder, loop it, check for sub folders and so on. Just check the help for CFDIRECTORY

You could also use the tag that has been told by demarco.

Regards
Harish(hart)
0
 
LVL 8

Expert Comment

by:TallerMike
ID: 8195370
I use <CF_DirectoryList_Enhanced> as demarco suggested, with great success.
0
 

Author Comment

by:sferret
ID: 8199097
Thanks for your help.
0
 

Expert Comment

by:demarco
ID: 8208733
Your welcome
0

Featured Post

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you ever sent email via ColdFusion and thought of tracking this mail to capture the exact date and time when the message was opened ?  If yes, then this article is for you ! First we need a table user_email with columns user_id , email , sub…
Introduction This article explores the design of a cache system that can improve the performance of a web site or web application.  The assumption is that the web site has many more “read” operations than “write” operations (this is commonly the ca…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
Suggested Courses

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question