remove folder in bat code example
Example 1: batch delete folder
# NOTE: for cmd/batch/DOS only (not bash/Linux)
# EXAMPLE:
rmdir /s /q "C:\Users\TomDickHarry\DeletableStuff"
# SYNTAX
# rmdir /s /q "<your-folder-to-delete>"
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"