In earlier versions of MS-DOS - I want to say version 7, but I could be wrong - there was a deltree command, which recursively deleted all subdirectories and fi
deltree
It was replaced with the commands: RMDIR or RD
Delete all subdirectories with /S
Use it quietly with the /Q
Example:
RMDIR /S /Q Folder2Delete RD /S /Q Folder2Delete
Documentation: