What I'm trying to do is write a script to delete all files in a directory that are older than 7 days. I can get the FileDate, but that does me little good in the YYYYMMDD format. Any suggetions?
Thanks,
Tom
I need to find the age of a file
Moderators: JRL, Dorian (MJT support)
VBScript?
or less rocket sience ...
So play around with Midstr> ...
Maybe such kind of output would be a usefull source to compare with (here C:Drive):
cmd=NT/XP/W2K
command=W9x/ME
or less rocket sience ...
Code: Select all
GetDate>date
MessageModal>%date%
Sub>%date%,7
MessageModal>%date%
Maybe such kind of output would be a usefull source to compare with (here C:Drive):
Code: Select all
Run Program>cmd dir C:\*.* /O:D /A:-D-H-S /-C > c:\ContentOfCDrive.txt
command=W9x/ME