io faccio quotidianamente una "rarrata" delle mia pagine asp...
Per fare ciò mi modifico un file bat schedulato.
Ciappa qua:
codice:
filebatch_rar = "c:\Inetpub\wwwroot\ManStaz\rar_web.bat"
On Error GoTo Gest_err
Open filebatch_rar For Output As 3
'serve per scrivere nel rar
fname = Dir(Path & "\", vbNormal)
Do
fname_tipo = Right(fname, 4)
If fname_tipo = ".asp" Then 'prendo solo le pagine .ASP
txtrar = "rar a pages_" & dir_data & ".rar " & fname
Print #3, txtrar 'la scrivo nel file numero tre
End If
fname = Dir()
Loop Until fname = ""
txtmove_rar = "move " & Path & "\pages_" & dir_data & ".rar " & Path & "\db_original\"
Print #3, txtmove_rar
Close #3
PS ti serve il file rar.exe nella dir di origine.
Spero di esserti stato utile!