help with VB script

acejj26

Senior member
Dec 15, 1999
886
0
0
okay, guys, i'm having a bitch of a time finding information on how to do this, so maybe one of you has done this before. i'm writing two ASP's...and they're very similar. here goes:

the first program i need must delete any text files in a directory that are more than 7 days old. i'm pretty sure you can do this with FileSystemObjects, but i can't find enough information

the second program i need must delete any excel file in a directory that are more than a day old (pretty similar to the above program).

i'm sure this is pretty simple to do, but i don't have enough information at my disposal to help me through it. i appreciate any and all comments.
 

BuckleDownBen

Banned
Jun 11, 2001
519
0
0
Hi-

Go to Google Groups and type in the following:

vbscript delete file days old

You'll find the answer there.