Ver Mensaje Individual
  #2 (permalink)  
Antiguo 04/04/2006, 09:17
perrogrun
Invitado
 
Mensajes: n/a
Puntos:
Fácil tio, solo tienes que hacer una pequeña trampa, tu lo haces así

Cita:
Iniciado por Brewster
<%

caminoFich=Server.MapPath("./carpetas//")
set ficheros=fso.GetFolder(caminoFich)
For each filefound in ficheros.files
response.write(filefound.Name)
Next
%>
Pues símplemente rompe el bucle y listo

Código:
<%
				 
caminoFich=Server.MapPath("./carpetas//")
set ficheros=fso.GetFolder(caminoFich)
For each filefound in ficheros.files
     response.write(filefound.Name)
     exit for
Next
%>