Ciao, se vuoi eliminare, tutti i files in
c:\windows\temp, dovresti comportarti in questo modo
nel Command Button inserisci queste stringhe
Private Sub Command_Button()
on error resume next
If Dir ("c:\windows\temp\*.*") <> "" Then
Kill ("c:\windows\temp\*.*")
End If
End Sub
Funziona di sicuro! Se non ti elimina qualche files, vuol dire che lo stai utilizzando!
|