Emptying the Recycle Bin

Configurare noua (How To)

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
The batch file to empty the Recycle Bin.

You’ll see the Recycle Bin Emptied message when the task is done.

Tip solutie

Permanent

Voteaza

(0 din 0 persoane apreciaza acest articol)

Despre Autor

Leave A Comment?