Earth Skater Shopping Cart Web Hosting
 

1 (877) 627-2492 Contact Us  •  About Earth Skater  •  Request a Quote   Support            
 

 
      You are here:   Dev Zone · ASP list files in folder  
 
 

Author: Staff
EarthSkater.net
This is a small example in ASP on listing the files in a specific folder using the Filesystem object

dim thefolder, strfile

thefolder=server.mappath("\") &"/images/"

set fs = server.createobject("Scripting.FileSystemObject")
set f = fs.getfolder(thefolder)
set fl = f.files    ' list of files

for each strfile in fl
    response.write (strfile.name & "<br>")
next

set fs = nothing
set f = nothing
set fl = nothing

 
 

Shopping Cart Web Hosting | Shopping Cart & Affiliate Program | Shopping Cart & Analytics | Merchant Accounts | Merchant Account Integration

Internet Marketing | Marketing Articles | Developer Articles | E-Commerce Blog | E-Commerce Forums | Earth Skater Mall

Home | About Earth Skater | Contact Us | Request a Quote | Support | Policies | Site Map | Earth Skater Affiliates

© 2010

Earth

Skater