/build/static/layout/Breadcrumb_cap_w.png

Empty Users Recycle Bins

Heres a quick batch that will empty those full recycle bins and reclaim disk space.

Using this on servers is also a great way to reclaim space as the files deleted are typically bigger and most admins arent too good at remembering to do the small maintenance tasks such as taking out this

@echo off
echo This batch file will permanently remove all users recycled files/folders.

echo ----------------------------------------------------------------------------
echo You're about to clear the following folder:
rd /s c:\recycler
pause

For windows 7 use  C:\$Recycle.Bin


Comments

This post is locked
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ