Script/scheduled task to clean up Dowloads folder (Windows 7)?

Posted by Andrew on Super User See other posts from Super User or by Andrew
Published on 2012-11-07T22:28:38Z Indexed on 2012/11/07 23:04 UTC
Read the original article Hit count: 158

Filed under:
|
|

My downloads folder is my primary connection to the internet (and thus the world), and has rapidly become a virtual junk drawer. I imagine I'm not alone here.

What I'd like to do is have some sort of a script that -creates a new folder (named YYYY_MM Archive so it sorts nicely) -takes everything* inside of the Downloads folder (for the current user) -moves it to the new folder

and have this run once/month.

*(excluding previous archives)

This strikes me as the type of thing Saw some answers on related questions that seemed to suggest that this is an eminently doable task in PowerShell. Is it? I'm on Windows 7 Enterprise.

© Super User or respective owner

Related posts about windows-7

Related posts about script