Advertisement
FlyFar

TEMP File Remover (Batch/CMD)

Oct 21st, 2021
232
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 1.08 KB | None | 0 0
  1. REM Written by FlyFar
  2. REM Hanoi, Vietnam
  3. REM 10/22/2021
  4. REM TEMP file Remover
  5. chcp 65001
  6. title Temporary files cleanup program
  7. echo off
  8. cls
  9. del /f /s /q "%temp%\*"
  10. del /f /s /q "C:\windows\TEMP\*"
  11. echo.
  12. title FINISHED... Temporary files cleanup script
  13. echo Files left:
  14. echo ───────────────────────────────────────────────────────────────────────────────
  15. dir /s /d "C:\windows\TEMP\"
  16. echo ───────────────────────────────────────────────────────────────────────────────
  17. dir /s /d "%temp%"
  18. echo ───────────────────────────────────────────────────────────────────────────────
  19. echo FINISHED...
  20. echo 
  21. pause
  22. :eof
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement