View Single Post
  #1 (permalink)  
Old April 7th, 2006, 03:19 PM
jfergy jfergy is offline
Authorized User
 
Join Date: Jan 2006
Location: , , .
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Default create array for loop in FSO

Hello-

I have files in a folder named listingID.jpg through listingIDj.jpg

How can I use the file system object to check each file and if it exists put it into a for loop for display? I need to do this for a dynamic xml page that can only use 1 call. So something like this:

fso.fileexists(my array)
for each in my array
response.write ""

loop
etc...