using directory in delete in batsh 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"