Last active
August 29, 2015 14:13
-
-
Save kirillsulim/a35352aa5ce3aacaceaa to your computer and use it in GitHub Desktop.
Delete all files and subfolders in selected folder
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
rem no " " in dir name | |
rem downloads: %UserProfile%\Downloads | |
rem tmp: %tmp% | |
set clean_dir=%UserProfile%\Downloads | |
del /s /q "%clean_dir%\*" | |
FOR /D %%p IN ("%clean_dir%\*.*") DO rmdir "%%p" /s /q |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment