Created
June 28, 2023 16:32
-
-
Save jonasfroeller/e1610653c05fe68ec336c33f2090620f to your computer and use it in GitHub Desktop.
deletes temporary data on the system (Windows)
This file contains 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 | |
REM setting temp path | |
set tmp_dir=%localappdata%\Temp | |
REM changing to temp dir | |
cd /d %tmp_dir% | |
REM deleting temporary files and directories | |
del /q /f /s * | |
for /d %%x in (*) do rmdir /s /q "%%x" | |
pause |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment