Situatie
Solutie
You can make a batch file that automatically clears all the contents of the Recycle Bin. This frees up your storage space and declutters your machine.
To do that, use the following commands in a batch file.This batch file requires administrator privileges to run it.
@echo off
echo Emptying Recycle Bin for all drives...
powershell -Command "Clear-RecycleBin -Force -ErrorAction Ignore"
echo Recycle Bin emptied.
pause
You’ll see the Recycle Bin Emptied message when the task is done.

Leave A Comment?