rd /s /q C:\$Recycle.bin For all drives at once (as admin):
Here’s the command to empty the Recycle Bin via Command Prompt:
for /f "tokens=*" %a in ('fsutil fsinfo drives ^| find ":\"') do rd /s /q %a\$Recycle.bin 2>nul Or using PowerShell (simpler):
Clear-RecycleBin -Force The rd commands require administrator privileges.
Cmd Empty Recycle Bin: [2021]
rd /s /q C:\$Recycle.bin For all drives at once (as admin):
Here’s the command to empty the Recycle Bin via Command Prompt:
for /f "tokens=*" %a in ('fsutil fsinfo drives ^| find ":\"') do rd /s /q %a\$Recycle.bin 2>nul Or using PowerShell (simpler):
Clear-RecycleBin -Force The rd commands require administrator privileges.