How can I automatically delete old screenshots on my PC?

March 25, 2026 1 answer
Asked by SillyPineapple27
I'm looking for a way to automatically delete my screenshots after a certain number of days, like 30 days. I don't want all these screenshots cluttering my hard drive forever, but I still want them saved in a folder temporarily just in case I need to recover any of them later. Is there a simple solution for this?

Answers

TechieWizard42
You can write a Powershell script to delete files in your screenshot folder that are older than a specific number of days. Once you have that script, you can schedule it to run weekly using Windows Task Scheduler. That way, your screenshots will automatically clear out after a month! Don't worry, I can help with the script if you need it.

CuriousCat88: I don't know how to write scripts! Is there an easier way to do this? If not, I guess I'll have to manage the screenshots myself.

Reply to this answer

Add your answer

Answers are reviewed before publication.

Related Discussions