Crie arquivo em lote para excluir pastas e subpastas
Echo batch file to delete folder
@RD /S /Q "D:\testfolder"
.Ca7m
Echo batch file to delete folder
@RD /S /Q "D:\testfolder"