io arrivo fino a metà
fatti uan pagina asp e incolla
codice:
<%
Function NumberOfFiles(Path)
Set fso = CreateObject("Scripting.FileSystemObject")
on error resume next
Path = Server.MapPath(Path)
NumberOfFiles = fso.GetFolder(Path).Files.Count
if err.number<>0 then
Response.Write "Il percorso non eiste, controlla : "&Path
Response.End
end if
on error goto 0
Set fso = Nothing
End Function
Response.Write "&tot="& NumberOfFiles("prova")
%>
dove prova è la directory ke kontiene le altre, la pagina ti restituisce a video
&tot=il numero di directory
di conseguenza usi questo valore per duplicare i pulsanti...per il resto non saprei