Last active
January 16, 2018 13:24
-
-
Save naqushab/303b0fcaab86682d35978fd12abd010e to your computer and use it in GitHub Desktop.
Move all files one up folder
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
for /f "delims==" %%i in ('dir /a:d /b') do for /f "delims==" %%f in ('dir %%i /a:d /b') do (move "%%i\%%f\*" "%%i"&&rd "%%i\%%f" /s /q) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment