Deleting Files older than 90 days

martin

Distinguished
Apr 2, 2004
1,031
0
19,280
Archived from groups: microsoft.public.windowsnt.misc (More info?)

Can anyone help...

On an NT4 server I have a directory that contains a load of files that are automatically downloaded from the web. When these files are downloaded I want to also remove any files that are older than 90 days (or three months if it's easier).

How can I identify which files to delete within a DOS script (and delete them?)

Any help would be appreciated....
Cheers
 
G

Guest

Guest
Archived from groups: microsoft.public.windowsnt.misc (More info?)

Martin wrote:

> Can anyone help...
>
> On an NT4 server I have a directory that contains a load of files that are automatically downloaded from the web. When these files are downloaded I want to also remove any files that are older than 90 days (or three months if it's easier).
>
> How can I identify which files to delete within a DOS script (and delete them?)
>
> Any help would be appreciated....
> Cheers

http://www.google.com/groups?as_q=forfiles.exe&safe=images&ie=UTF-8&oe=UTF-8&as_ugroup=alt.msdos.batch.nt%2C%20microsoft.public.win2000.cmdprompt.admin&lr=&hl=en

--
Phil Robyn
Univ. of California, Berkeley

u n z i p m y a d d r e s s t o s e n d e - m a i l