<% set fso=server.createobject("scripting.filesystemobject")set serverfolder=fso.getfolder(server.mappath("photo\")) set serverfolderlist=serverfolder.files for each serverfileevery in serverfolderlist %> <% =serverfileevery.name %> <% next %>