Created
December 6, 2020 14:28
-
-
Save Fleshgrinder/f6feb79f3fb7bb4df345a7e3418212ca to your computer and use it in GitHub Desktop.
Fast recursive directory deletion in 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 | |
:: https://pureinfotech.com/delete-large-folder-fast-windows-10/ | |
ECHO Delete Folder: %CD%? | |
PAUSE | |
SET FOLDER=%CD% | |
CD / | |
DEL /F/Q/S "%FOLDER%" > NUL | |
RMDIR /Q/S "%FOLDER%" | |
EXIT |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment