| Oggetto |
Cancellare file con *.css |
| Da |
Bruce OCanaan |
| Data |
Mon, 10 Dec 2007 23:15:54 +0100 |
| Newsgroups |
it.comp.www.asp |
Ciao a tutti, c'è modo di cancellare dei file utilizzando il carattere
specia * oppure ? in vbscript controllando che esistano dei file con quel
nome ?
Io ho provato così ma non va ...
nome = Server.MapPath(".") & "\del\*.css"
Set objFSO = Server.CreateObject("Scripting.FileSystemObject")
if objFSO.FileExists (nome) then
objFSO.deleteFile(nome)
end if
Ciao e grazie mille
Bruce
|
|
|
|