Backup /since=today-7

G

Guest

Is there a way to backup directories and files created in the past x number
of days, like the VMS command does? I don't know vb and c++ and just want to
back up the past 7 days of a directory using xcopy in a .cmd file
 
T

Torgeir Bakken \(MVP\)

JohnH-Mo said:
Is there a way to backup directories and files created in the past x number
of days, like the VMS command does? I don't know vb and c++ and just want to
back up the past 7 days of a directory using xcopy in a .cmd file
Hi

I suggest you look into the command line tool Robocopy.exe

Robocopy.exe is in the free Windows Server 2003 Resource Kit:

http://www.microsoft.com/downloads/...69-57ff-4ae7-96ee-b18c4790cffd&DisplayLang=en

(The kit will install on WinXP or later, the individual files can
then be copied to other computers if needed)

Robocopy.exe will work fine on Win2k, WinXP and Win2k3 Server.

See rktools.chm and robocopy.doc for documentation for Robocopy.exe.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top