Hi
I'm new to ASP, so this is a simple problem...
The following code lists the sub folder names in a specified directory. Rather than loop through the list I want to just pull out the n-th name in the collection. How do I do this please? Also is there a property that tells me how big the sub folders collection is?
Set fso = server.CreateObject("Scripting.FileSystemObject")
Set fo = fso.GetFolder(server.mapPath("/images/banner"))
Set fc = fo.SubFolders
For Each f in fc
Response.Write(f.name & "<br/>")
Next
Cheers