sferret
asked on
Cfdirectory
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.
example- in dos dir *.txt only returns results in current folder. however dir *.txt /s returns all subdirectories under that folder.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I use <CF_DirectoryList_Enhanced > as demarco suggested, with great success.
ASKER
Thanks for your help.
Your welcome
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)