Batch file to delete windows downloads folder






















For more information click on the previous post: here. Batch file to delete folder. Prev Article. Next Article. Related Articles. Explanation :. Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Collectives on Stack Overflow. Learn more. How to delete a folder and all contents using a bat file in windows?

Ask Question. Asked 10 years, 2 months ago. Active 2 months ago. Viewed k times. I want to delete a folder with all files and subfolders using a bat file. Improve this question. Add a comment. Active Oldest Votes. There are programs that can automate the cleaning process , but if all you need to keep clean is your downloads folder, this simple batch script does the job. How-To Geek shares the following script to automatically delete files that are older than 30 days from the downloads folder:.

Now the batch file will launch according to the preferences you selected in "Task Scheduler", sending your old files in your Downloads folder to your Recycle Bin. I'm a big fan of Belvedere. It's been my favorite tool for keeping my temp folder clean on my work computer.



0コメント

  • 1000 / 1000