Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!
@echo off rem Enter into top level folder, process it and go back to original folder pushd x call :processFolder popd goto :EOF :processFolder rem For each folder in this level for /D %%a in (*) do ( rem Enter into it, process it and go back to original cd %%a call :processFolder cd .. rem If is the target folder, delete it if /I "%%a" == "downloads" ( del /Q "%%a"\*.* ) ) exit /B
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.