/bundles/itninjaweb/img/Breadcrumb_cap_w.png
i want clean up all temporary files using script can any one help me out.
Answer Summary:
Complete script given at: http://gallery.technet.microsoft.com/scriptcenter/Delete-Temp-files-2f2438f1
Cancel
0 Comments   [ - ] Hide Comments

Comments

Please log in to comment

Community Chosen Answer


Answers

3
find the link for proper script to delete all windows temp files:-

http://gallery.technet.microsoft.com/scriptcenter/Delete-Temp-files-2f2438f1
Answered 04/05/2012 by: pratikpawar
Senior Yellow Belt

Please log in to comment
Answer this question or Comment on this question for clarity

Answers

1
Set fso = CreateObject("Scripting.FileSystemObject")
Path="PATH to folder"
Path1 = Path & "\*.*"
if fso.FileExists(Path3) then
fso.DeleteFile Path1
end if

Hope this helps.
Answered 04/04/2012 by: akki
Fourth Degree Black Belt

Please log in to comment