del /s /f /q c:\windows\temp*.*
rd /s /q c:\windows\temp
del /s /f /q C:\WINDOWS\Prefetch
> del /s /f /q %temp%*.*
rd /s /q %temp%
deltree /y c:\windows\tempor~1
deltree /y c:\windows\temp
deltree /y c:\windows\tmp
deltree /y c:\windows\ff*.t
the formatting of this forum doesnt show the correct text so for the bolded text, make sure to check the one in the below image.
this code is saved with .bat extension and saved as clean file on desktop and often will be executed as administrator for cleaning up temp files…
this code is obtained from internet, is there any way to improve it further for overall pc performance and for brave too ?