Created
April 3, 2022 08:30
-
-
Save SanjaySRocks/b5a3cb2f4d18e236fbbdc52e35a58e43 to your computer and use it in GitHub Desktop.
delete all temporary files from windows
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @echo off | |
| cd /D %temp% | |
| for /d %%D in (*) do rd /s /q "%%D" | |
| del /f /q * | |
| cd /D C:\Windows\Temp | |
| for /d %%D in (*) do rd /s /q "%%D" | |
| del /f /q * |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment