There is a custom tag in the Dev Exchange called du.cfm that does what you want. It was meant for disk usage, but it will output a directory tree. The most efficient way to do what you want is to use the FileSystemObject via and asp page, or cfobject if you like. That is, if you are on a Windows server of course.
http://www.cfcomet.com/cfcomet/other/index.cfm?ArticleID=0334E720-BB20-4799- 81E5E2F15D0BDA0F jon ----- Original Message ----- From: "Adkins, Randy" <[EMAIL PROTECTED]> To: "CF-Community" <[EMAIL PROTECTED]> Sent: Wednesday, November 28, 2001 1:43 PM Subject: CF TAG > Does anyone have a CFTAG that will parse through a directory > to include subs and return the full directory / path / filenames. > > I know CFDirectory does return this in a Query however this will > return a listing of the GIVEN directory and not to include the SUBS. > > I basically need a tag that will do this: > Root Folder: C:\FILES > > Would return in some fashion (not neccessary file the ROOT) > C:\FILES\CF\TAG2.CFM > C:\FILES\CF\TAG1.CFM > C:\FILES\JAVASCRIPT\TAG1.JS > C:\FILES\JAVASCRIPT\TAG1.JS > C:\FILES\JAVASCRIPT\USERS\1.JS > C:\FILES\JAVASCRIPT\USERS\2.JS > C:\FILES\USERS\MINE.TXT > > Anyone know of a utility to do this which I have to use on a CF 4.5 > server?? > > I know there are UDFs in CFLIB.ORG but not quite what I need. > > > Randy Adkins > Tech Lead - Novient > SRA International > [EMAIL PROTECTED] > (703) 803-1677 > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Get the mailserver that powers this list at http://www.coolfusion.com Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
