Jump to content

pcdoc2010

Members
  • Posts

    3
  • Joined

  • Last visited

Posts posted by pcdoc2010

  1. I can clean "%userprofile%\Temp" and "%userprofile%\Temporary Internet Files" manually, or using a simple batch file like this:

     

    =====================

    for /d %%a in ("c:\documents and settings\*") do echo RD /s "%a\Local Settings\Temp"

    for /d %%a in ("c:\documents and settings\*") do echo MKDIR "%a\Local Settings\Temp"

    for /d %%a in ("c:\documents and settings\*") do echo RD /s "%a\Local Settings\Temporary Internet Files"

    for /d %%a in ("c:\documents and settings\*") do echo MKDIR "%a\Local Settings\Temporary Internet Files"

    =====================

    I could use this batch file. an you post a copy of the whole batch file?

  2. I have a terminal server network and files are created on any number of drive locations other than C:

    I have scanned the server and have found numerous temp word docs that I'd like to get rid of.

     

    I have read posts that say to create a batch file to remove temp files, but my question is if this is actually a good idea to do?

    Basically I'd like to create a batch file to delete *.tmp files found on drive D and E

     

    Any thoughts on this?

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.