bat file for delete file in folder code example
Example 1: create batch file to delete folders and subfolders
Echo batch file to delete folder
@RD /S /Q "D:\testfolder"
Example 2: deleting everything inside a folder using batch
del Example
Echo batch file to delete folder
@RD /S /Q "D:\testfolder"
del Example