command to delete folder and subfolders in windows code example
Example: create batch file to delete folders and subfolders
Echo batch file to delete folder
@RD /S /Q "D:\testfolder"
Echo batch file to delete folder
@RD /S /Q "D:\testfolder"