User Tools

Site Tools


clean_temp_directory

Clean Temp Directory

eventcreate /ID 1 /t INFORMATION /l APPLICATION /so "Clean Temps" /d "Cleaning C:\Temp"
c:
cd \temp
rd /s /q . > "C:\Clean Temp.log" 2>&1

Or, using FileKiller:

"C:\Program Files\FileKiller" -m-1w -a-4d -i -r -f C:\Temp > "Clean Temp.log" 2>&1
clean_temp_directory.txt · Last modified: 2017/01/01 20:05 by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki