free log
CRM

Bozteck VNCScan Community

Community makes things happen
Welcome to Bozteck VNCScan Community Sign in | Join | Help
in
Home Forums

script to delete all temp files and cokkies

Last post 07-03-2007, 6:56 AM by AlanK. 3 replies.
Sort Posts: Previous Next
  •  06-26-2007, 8:50 AM 1962

    script to delete all temp files and cokkies

    does any one have this or have a clue how it can be done
  •  06-26-2007, 11:05 AM 1963 in reply to 1962

    Re: script to delete all temp files and cokkies

    Here's what I use, it works very well on ALL profiles:

    FOR /D %%i in ("C:\Documents and Settings\*") DO C:\temp\vncscan\DelTree /Y "%%i\local settings\Temp\*.*" >nul

    FOR /D %%i in ("C:\Documents and Settings\*") DO c:\temp\vncscan\DelTree /Y "%%i\local settings\Temporary Internet Files\*.*" >nul

    FOR /D %%i in ("C:\Documents and Settings\*") DO c:\temp\vncscan\DelTree /Y "%%i\cookies\*.*" >nul

    C:\DelTree.exe /Y C:\Windows\Temp\*.* >nul

    del /Q c:\temp\vncscan\*.*

     

    You will need a copy of deltree.

    Enjoy

  •  06-26-2007, 1:13 PM 1965 in reply to 1963

    Re: script to delete all temp files and cokkies

    Attachment: deltree.zip

    Thanks it worked great

     

    p.s. i attched deltree if anyone else wants to use it

     

    Thanks alot

  •  07-03-2007, 6:56 AM 1985 in reply to 1962

    Re: script to delete all temp files and cokkies

    I use a freeware program called CCleaner.  It's on http://www.ccleaner.com/.  It can be used to clean up just about every unneeded file on the system, and even cleans cookies from 3rd party browsers like Opera and Firefox and temp files from many common 3rd party apps.  I've used it for quite a while, and it's always been very safe.  I highly recommend it.




View as RSS news feed in XML
Powered by Community Server, by Telligent Systems