/s : Deletes all directories and files in the specified directory in addition to the directory itself.
/q : Quiet mode; it won't ask for confirmation before deleting.
rd /s /q C:\$Recycle.bin
If you are a fan of PowerShell or using the Windows Terminal, there is an even cleaner command available. While this isn't technically "CMD" (Command Prompt), it is often the preferred method for system administrators.
This method is highly effective for clearing files from all user accounts on a system or when the graphical interface is unresponsive. : cmd empty recycle bin
While the right-click menu will always be the go-to for casual users, knowing the command line method gives you more control over your system. It’s faster, scriptable, and an essential tool for troubleshooting a stuck Recycle Bin.
: To empty the Recycle Bin for every drive on your computer without being asked for confirmation, run: Clear-RecycleBin -Force /s : Deletes all directories and files in
for /f "tokens=*" %a in ('fsutil fsinfo drives ^| find ":\"') do rd /s /q %a\$Recycle.bin 2>nul
Emptying the Recycle Bin via Command Prompt is quick, efficient, and works on virtually all versions of Windows. Here is how to do it. While this isn't technically "CMD" (Command Prompt), it

This will close in 0 seconds