Windows has a set of tools that enable the user to make his computer do some simple tasks without the need for any user intervention or presence in front of his computer. It will be useful for you especially if you are deleting many things from your computer, continue with me.
All you have to do is go to the search box in Windows and then type taskschd.msc, a tool that enables you to program your computer to do tasks frequently and automatically.
Right-click the Task Scheduler library folder and create a new task by clicking on the Create Basic Task option as shown in the image:
Now choose a name for the task, you can name it any name you want but preferably meaningless as Empty Recycle bin for example and then press the button Next.
Choose the time this task will be executed. For example, if you choose daily, the trash can be emptied on a daily basis.
Then in the Action option click on the start a program option and then type cmd.exe in the first box and paste this command in the second box as shown in the picture:
/ c “echo Y | PowerShell.exe -NoProfile -Command Clear-RecycleBin”
Now press finish, and you will find that the name of this task has been added in the task table, you can try the system for this task by clicking on it and then press run and you will notice that the trash has been emptied.
All you have to do is go to the search box in Windows and then type taskschd.msc, a tool that enables you to program your computer to do tasks frequently and automatically.
Right-click the Task Scheduler library folder and create a new task by clicking on the Create Basic Task option as shown in the image:
Now choose a name for the task, you can name it any name you want but preferably meaningless as Empty Recycle bin for example and then press the button Next.
Choose the time this task will be executed. For example, if you choose daily, the trash can be emptied on a daily basis.
Then in the Action option click on the start a program option and then type cmd.exe in the first box and paste this command in the second box as shown in the picture:
/ c “echo Y | PowerShell.exe -NoProfile -Command Clear-RecycleBin”
Now press finish, and you will find that the name of this task has been added in the task table, you can try the system for this task by clicking on it and then press run and you will notice that the trash has been emptied.





