Guest lca1630 Posted January 10, 2008 Posted January 10, 2008 Hi, I need to add to my batch and am not quite sure what syntax to use. I need a methdod of file cleanup for some backup files. I need it to delete files older than 14 days in particular file. Please help. Thanks
Guest Pegasus \(MVP\) Posted January 10, 2008 Posted January 10, 2008 Re: Batch File Help! File cleanup after n # of days. "lca1630" <lca1630@discussions.microsoft.com> wrote in message news:9DE45916-099F-455C-9B19-FF61E0C831EE@microsoft.com... > Hi, > > I need to add to my batch and am not quite sure what syntax to use. I need > a > methdod of file cleanup for some backup files. I need it to delete files > older than 14 days in particular file. Please help. Thanks > You could use this command: xxcopy /db#14 /rs /yy /s "d:\My Files\*.*" c:\ You can download xxcopy.exe from a number of Internet sites.
Guest lca1630 Posted January 10, 2008 Posted January 10, 2008 Re: Batch File Help! File cleanup after n # of days. Thank You I will look into this, much appreciated. "Pegasus (MVP)" wrote: > > "lca1630" <lca1630@discussions.microsoft.com> wrote in message > news:9DE45916-099F-455C-9B19-FF61E0C831EE@microsoft.com... > > Hi, > > > > I need to add to my batch and am not quite sure what syntax to use. I need > > a > > methdod of file cleanup for some backup files. I need it to delete files > > older than 14 days in particular file. Please help. Thanks > > > > You could use this command: > > xxcopy /db#14 /rs /yy /s "d:\My Files\*.*" c:\ > > You can download xxcopy.exe from a number of Internet sites. > > >
Recommended Posts