Ver Mensaje Individual
  #3 (permalink)  
Antiguo 11/01/2006, 05:07
rrufo
 
Fecha de Ingreso: enero-2002
Mensajes: 1.438
Antigüedad: 23 años, 4 meses
Puntos: 0
gracias:

Código:
<%
Set fs = Server.CreateObject("Scripting.FileSystemObject")
Set lista_archivos = fs.GetFolder(Server.MapPath("."))

'Mostramos los archivos...
For each filefound in lista_archivos.files
   if filefound.Name = "index.asp" then
     Response.Write filefound.Name & "<BR>"
   end if 

Next
%>
lo unico q tendria q optimizar el bucle, pero no veo como, pues me parece q tengo q recorrer toda la carpeta.