Delete Files based on criteria

Posted on 2007-10-17
Last Modified: 2010-04-20
Do any of you know of a simple tool for deletiing files based on "older than x number of days" that could be run as a daily scheduled task. I have been searching the "freeware sites" for a uility but have not found anything.
Unfortunately, I'm not versed in scripting.

Question by:mrlevesque
    1 Comment
    LVL 38

    Accepted Solution

    You could use a vbscript like the ones in these articles:

    Just be sure to test carefully before using them on a production system.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    This collection of functions covers all the normal rounding methods of just about any numeric value.
    The use of stolen credentials is a hot commodity this year allowing threat actors to move laterally within the network in order to avoid breach detection.
    Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
    The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…

    760 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    10 Experts available now in Live!

    Get 1:1 Help Now