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

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


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

Hello World,

Really appreciate the blogs and sensible comments , keep sharing


bodyguard services,London
follow us :

Hire security in london

Ievent Security
follow us :

Royal Armor Group

construction site security in london

follow us on:


hire domestic workers in london hire domestic workers in london

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

Works with changing cfloop to cfquery.

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

to be pedantic, :)