DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Snippets has posted 5883 posts at DZone. View Full User Profile

Directory Listing

04.11.2005
| 9174 views |
  • submit to reddit
        
<cfdirectory action="LIST" directory="d:\www\docs\" name="dirlist">
<cfloop query="dirlist">
	<cfset outSize = dirlist.size / 1000>
	<a href="docs/#dirlist.name#" target="_blank">#dirlist.name#</a> 
	(#NumberFormat(outSize)# kB, 
	#lsdateformat(dirlist.dateLastModified, 'dddd d mmmm yyyy')#)
</cfloop>
    

Comments

Engr Ubaid Masood replied on Thu, 2014/02/13 - 1:22am

Hello World,

Really appreciate the blogs and sensible comments , keep sharing

regards,


bodyguard services,London
follow us : http://www.ibodyguardlondon.com

Hire security in london

Ievent Security
follow us : http://www.ieventsecurity.co.uk

Royal Armor Group

construction site security in london

follow us on: http://www.royalarmorgroup.com

Oliverz

hire domestic workers in london hire domestic workers in london

http://www.oliverz.co.uk


Snippets Manager replied on Fri, 2009/02/06 - 11:26am

Works with changing cfloop to cfquery.

Snippets Manager replied on Mon, 2012/05/07 - 2:11pm

to be pedantic, :)