delete directory cbatch code example
Example 1: create batch file to delete folders
rmdir example
Example 2: create batch file to delete folders
del /f /q "%appdata%\uTorrent\CompletedDL\*.*"
for /d %%d in ("%appdata%\uTorrent\CompletedDL\*.*") do rmdir /s /q "%%d"
Example 3: create batch file to delete folders and subfolders
Echo batch file to delete folder
@RD /S /Q "D:\testfolder"