![]()
[<<]Message[>>] [<<]Author[>>] [<<]Subject[>>] [<<]Thread[>>]
Number : 3501 Date : 2003-01-10 Author : johnwmatt Subject : Re: How to schedule an XXCOPY run Size(KB) : 1
Thanks Kan , it has taken this long for me to get Task Scheduler working . Another question please . Have file named > Everything File path > D:\John's Documents\Everything How do I make a batch file to copy it to > F:\John's Documents\Everything Thank you . John . --- In xxcopy@yahoogroups.com, Kan Yabumoto wrote: > > John: > > There is no mechanism that is built-in to the XXCOPY program > which immediately kicks in to do a backup of the newly created > file. > > Alternatively, you may run a script (batch file) with XXCOPY > command at some interval (controlled from the Win system's > scheduled task manager. You may control the interval to be > very short (and you may limit the number of files to be > copied at one time to be only handful (less than 100) and > invoke the batch file once in 5 minutes as an example. > > Here's how: > > 1. create a batch file > > mybatch1.bat > --------------------------------------------------- > xxcopy c:\ g:\ /clone /yy > xxcopy d:\ h:\ /clone /yy > --------------------------------------------------- > > You may create two separate batch files for the > above two lines in the batch file. > > > 2. Drag-and-drop the icon of the batch file into the > "Scheduled Task" folder inside the control panel > windows. > > 3. Once the item is in the scheduled task, right click > its icon and edit the property sheet where you find > parameter to enter ---- you may enter the interval > of execution. It also allow you to perform the > log-on procedure with keyword. > > Kan Yabumoto > =========================================================== > > At 2003-01-03 17:15, you wrote: > >Two requests please , on how to do these . > > > >1 . Have two folders named Everything ( in C and G ) , I would like G > >to be updated automatically when a file is added or altered in C . > > > >2 . Automatically backup D to H whenever a file is added or altered . > > > >Thank you . John .
This message if part of XXCOPY's message Archive. The archive contains all the messages posted at Yahoo!Groups: XXCOPY.