1.

Solve : a batch with delete backup file in directory?

Answer»

I need an help for delete in the directory c:\backup the 5th day older file RESPECT the current DATE

ex:

c:\backup\a.zip (date 12/11/2009)
c:\backup\b.zip (date 13/11/2009)
c:\backup\c.zip (date 14/11/2009)
c:\backup\d.zip (date 15/11/2009)
c:\backup\e.zip (date 16/11/2009)
c:\backup\f.zip (date 17/11/2009)

the current date is 20/11/2009, i run the batch PROGRAM end the result in directory is:

c:\backup\d.zip (date 15/11/2009)
c:\backup\e.zip (date 16/11/2009)
c:\backup\f.zip (date 17/11/2009)

Thank you for your help.
fabio

Fabio



see here example 2. Its SIMILAR, just change 30 to 5thank you

I TRY



Discussion

No Comment Found