How its done
Some times windows stops cleaning up its “temp” folder or doesn’t clean it up completely. Here is a way of scheduling a task that will clean up the temp folder for you automatically.
- Create batch file
DEL /F /S /Q C:\Windows\Temp\
- schedule batch file to run as needed
This can be used to scheduled cleanups can be applied to any directory not just the temp folder.