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
Nowadays, you can use Powershell to do the same task:
powershell -Command "Remove-Item 'PathToMyDirectory\*' -Recurse -Force"