Scheduling to automatically delete files in the download folder of your computer just helps you free up hard drive memory is also a way to save time instead of having to visit the default download folder manually delete each file individually.
Usually the directory Download is a place where data files are downloaded from the internet, if you regularly download data to your computer, this folder takes up a lot of computer memory space. Through this article you will know how to set up to automatically delete all files in the Download folder without having to go in and delete manually.
Instructions to automatically delete all files in the Download folder of the computer
Step 1: Open Notepad text editor
Step 2: Enter the code:
REM Remove files older than 30 days
forfiles / p “C: Users YOURUSERNAME Downloads” / s / m *. * / c “cmd / c Del @path” / d -30
– Then save with the format .bat. Then the files stored more than 30 days in the Download folder of the computer will automatically be deleted
Above, Taimienphi.vn has instructed you how to schedule to automatically delete files in the Download folder of your computer, so you do not need to do it manually to delete unnecessary data in this folder anymore. They will be scheduled to be automatically deleted from the computer.
Whether on Windows 10, can this feature still work? Definitely yes, refer to the setup Automatically delete downloaded files on Windows 10 so that if you download multiple files, it will also be automatically cleaned, to avoid forgetting, the memory on the hard drive will be full.