Loading ...
Sorry, an error occurred while loading the content.

Re: [BATCH WORLD] deleting tmp files from all users

Expand Messages
  • Theodorik OBroin
    Hi Aristos, Yup - I have a batch file for deleting temp directories for all users in documents and settings. I ll post it here next week when I get back to
    Message 1 of 12 , May 28, 2010
    • 0 Attachment
      Hi Aristos,

      Yup - I have a batch file for deleting temp directories for all users in
      documents and settings.
      I'll post it here next week when I get back to work - it works very well.

      Theo


      On 27 May 2010 06:53, Aristos Vasiliou <aristos@...> wrote:

      > I am currently using the following batch file to do a cleanup
      >
      >
      >
      > attrib -h -s C:\RECYCLER
      > attrib -h -s D:\RECYCLER
      > RD /s /q C:\RECYCLER
      > RD /s /q D:\RECYCLER
      > DEL /Q /S /F "%TMP%\*.*"
      > DEL /Q /S /F "%WINDIR%\*.log"
      > DEL /Q /S /F "%WINDIR%\*.tmp"
      > DEL /Q /S /F "%WINDIR%\Temp\*.*"
      > DEL /Q /S /F "%USERPROFILE%\Recent\*.*"
      > DEL /Q /S /F "%USERPROFILE%\Cookies\*.*"
      > DEL /Q /S /F "%USERPROFILE%\Local Settings\Temporary Internet Files\*.*"
      >
      >
      >
      > The last three lines clean up tmp files from the current user profile. Is
      > there a way that this batch file can enter all the user�s profiles under
      > C:\Documents and Settings and delete the tmp files in those also?
      >
      >
      >
      > Also, does anyone know any other paths I can add in the batch file for
      > cleaning not needed files?
      >
      >
      >
      > Thanks.
      >
      >
      > [Non-text portions of this message have been removed]
      >
      >
      >
      > ------------------------------------
      >
      > To Post a message, send it to: batchworld@...
      >
      > To Unsubscribe, send a blank message to:
      > batchworld-unsubscribe@...! Groups Links
      >
      >
      >
      >


      --

      There are only 10 types of people in the world.
      Those who understand binary,
      and those who don't.


      [Non-text portions of this message have been removed]
    Your message has been successfully submitted and would be delivered to recipients shortly.