/build/static/layout/Breadcrumb_cap_w.png

how to delete temporary files using script

i want clean up all temporary files using script can any one help me out.

0 Comments   [ + ] Show comments

Answers (2)

Answer Summary:
Complete script given at: http://gallery.technet.microsoft.com/scriptcenter/Delete-Temp-files-2f2438f1
Posted by: pratikpawar 12 years ago
Senior Yellow Belt
3
find the link for proper script to delete all windows temp files:-

http://gallery.technet.microsoft.com/scriptcenter/Delete-Temp-files-2f2438f1

Comments:
Posted by: akki 12 years ago
4th Degree Black Belt
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.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ