FileSystem display folder contents
set myFSO = Server.CreateObject("Scripting.FileSystemObject")
set myFolder = myFSO.GetFolder("C:\MyFolder")
for each thing in myFolder.Files
response.write thing.Name&" "&thing.Size
next
'thing.Path, thing.Drive, thing.Type, thing.Attributes, thing.DateCreated, thing.DateLastAccessed, thing.DateLastModified
|