How to Clear Temporary Files Automatically in Windows 10

How to Clear Temporary Files Automatically in Windows 10
Cleaning junk files and cache is important to keep the computer running smoothly, these temp files build up over time and need to be cleared out with either software, scripts or built-in software on windows 10.

————————————-copy—————————————-

@echo off
if not “%1” == “max” start /MAX cmd /c %0 max & exit/b
echo.
echo Cleaning system junk files, please wait . . .
echo.
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%\*.old
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%\temp
del /f /q %userprofile%\cookies\*.*
del /f /q %userprofile%\recent\*.*
del /f /s /q “%userprofile%\Local Settings\Temporary Internet Files\*.*”
del /f /s /q “%userprofile%\Local Settings\Temp\*.*”
del /f /s /q “%userprofile%\recent\*.*”
ipconfig /flushdns
echo.
echo Junk files clean is finished!
echo. & pause

—————————copy——————————

code source

——————— My Social Links:
🔵 View My Channel
🔵 View My Playlists
🔵 Follow on Twitter
🔵 Follow on Facebook
🔵 View my Website
🔵 My Official Email
🔵 My Discord

✅Britec Merchandise https://teespring.com/en-GB/stores/britec-store

Leave a Reply