for /f "delims=" %d in ('dir /s /b /ad ^| sort /r') do rd "%d"
(if used inside a batch file, replace %d with %%d)
%d
%%d
Powered by WordPress | Made with ❤ by Themely