Announcement

Collapse
No announcement yet.

VB Script help to delete files

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • VB Script help to delete files

    Hi,
    I would like a script to silently delete files from within C:\WINDOWS\TEMP\ directory older than a number of days\weeks and skipping files it cannot delete or in use.

    Is this possible?

    If someone has the script handy I would really appreciate it.
    thanks in advance.
    Last edited by tradu81; 14th July 2010, 23:12. Reason: Forgot to add something.

  • #2
    Re: VB Script help to delete files

    There are plently of scripts floating around that can do this... You just need to search for one as an example and edit it.

    http://lmgtfy.com/?q=vbscript+to+delete+files+by+date

    Originally posted by tradu81 View Post
    Hi,
    I would like a script to silently delete files from within C:\WINDOWS\TEMP\ directory older than a number of days\weeks and skipping files it cannot delete or in use.

    Is this possible?

    If someone has the script handy I would really appreciate it.
    thanks in advance.
    Andrew

    ** Remember to give credit where credit is due and leave reputation points sigpic where appropriate **

    Comment

    Working...
    X