batch script to delete temp files and clear cache

batch script to delete temp files and clear cache
 in this article, I will show you how to create a batch script to delete temp files and clear ram cache  

step: 1 write below the line of code,

@echo off
@echo clear ram cache , temp files boost computer speed
title this is ajayvishu script
color 0a
tree c:\windows\temp
del /s /f /q c:\windows\temp\*.*
tree c:\windows\prefetch
del /s /f /q c:\windows\prefetch\*.*
tree %userprofile%\appdata\local\temp
del /s /f /q %userprofile%\appdata\local\temp\*.*
%windir%\system32\rundll32.exe advapi32.dll,ProcessIdleTasks
@echo temp and windows memory cache file deleted successfully , press any key to continue....
pause > nul

step: 2 save file clean-temp&cache.bat (.bat extenstion)

step: 3 run batch script

Post a Comment

0 Comments