I am looking for a quick routine that will delete all files in a network directory that are more that 2 weeks old.
I know that I could do a dir /t /c and pipe it to a text file and then process the names one by out of the file but there seems like there should be an easier way to do this.
How in VB can I look at file dates and react off of them?
I know that I could do a dir /t /c and pipe it to a text file and then process the names one by out of the file but there seems like there should be an easier way to do this.
How in VB can I look at file dates and react off of them?