How to delete a folder with all contents using a bat file in windows ... Hi I want to delete a folder with all files and subfolders using a bat file. ... @RD /S /Q "D:\PHP_Projects\testproject\Release\testfolder". Explanation: Removes ...