Clean temp files and make windows boot faster
pretty useful batch script. Copy & paste it in to a file named "clean.bat", run it to delete all temp files.
@echo off
echo Deleting IE temp files...
del /f /s /q "%userprofile%\Local Settings\Temporary Internet Files\*.*"
del /f /s /q "%userprofile%\Local Settings\Temp\*.*"echo Deleting *.tmp *._tmp *.log *.chk *.old...
del /f /s /q %systemdrive%\*.tmp
del /f /s /q %systemdrive%\*._mp
del /f /s /q %systemdrive%\*.log
del /f /s /q %systemdrive%\*.gid
del /f /s /q %systemdrive%\*.chk
del /f /s /q %systemdrive%\*.oldecho Deleting recycle bin, temp dir, etc...
del /f /s /q %systemdrive%\recycled\*.*
del /f /s /q %windir%\*.bak
del /f /s /q %windir%\prefetch\*.*
rd /s /q %windir%\temp & md %windir%\tempecho Clean system disk...
%windir%\system32\sfc.exe /purgecacheecho Defrag system drive...
%windir%\system32\defrag.exe %systemdrive% -becho Finished!
echo. & pause
Related posts:
- Turn off boring IE information bar
- Connect to a VPN and keep normal Internet connections
- Turn wifi laptop to an access point
- Clean temp files and make windows boot faster
- Test, windows live writer can't upload image in one of my blog... :(
- Jungle Disk may cause moveable disk can't be used in Windows XP
- Unix alike Symbolic Links on Windows XP (maybe vista)
Search related in web: