using dir in delete in batch 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"