Remove Temp Files


SUBMITTED BY: Guest

DATE: Oct. 24, 2013, 9:10 p.m.

FORMAT: Text only

SIZE: 703 Bytes

HITS: 956

  1. Remove Temp Files:
  2. This is more of maintenance than a repair. The windows temp folder can grow rather large when not emptied. It can also have files that windows tries to use instead of the proper ones. Also some viruses and infections will be in the temp folder.
  3. Command(cmd):
  4. @echo on
  5. set path=%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem
  6. ATTRIB -A -R -S -H "%%%TEMP%%%\*.*" /S /D
  7. del /f /s /q "%%%TEMP%%%\*.*"
  8. rd "%%%TEMP%%%" /s /q
  9. ATTRIB -A -R -S -H "%%%WINDOWS%%%\Temp\*.*" /S /D
  10. del /f /s /q "%%%WINDOWS%%%\Temp\*.*"
  11. rd "%%%WINDOWS%%%\Temp" /s /q
  12. Copy to Notepad and save something.cmd name and click on it twice.

comments powered by Disqus