Here’s a quick Windows tip! A issue I run into on a basic web server, which is used by a number of users was that it was running out of space and wasn’t keen/resourceful to give it some extra GB’s.
The command comes in handy if you are the administrator of a multi-user Windows 7, Windows 8 and Windows 10 computer. This has also been tested on Windows Server. In this guide, I will show you how to use the Command Prompt to easily empty Recycle Bin from all user accounts:
IMPORTANT: Use this command with caution. Executing wrongly typed command may cause damage to your system and data.
Step 1: Launch elevated Prompt. (Run as Administrator)
Step 2: In the elevated prompt, type the following command:
rd /s c:\$Recycle.Bin
(In the above command, “c” is your Windows drive)
Press enter key.
Press Y key to confirm and empty Recycle Bin. You are done! Type Exit and press enter key again to close the Prompt.
There might be some other third-party tools to do this job, but this is the easiest way to empty Recycle Bin and free up some disk space. We tested th