Hello,

I don't know if any switch can be added to execute the command at an interval. You can, of course, create a scheduled task from control panel. I don't also find there any option for such an interval. What you can do is to create a task for running at startup. But it won't work if the path is a removable drive and it is not attached during execution. The best thing would be to keep the file handy and just hit enter on it when you remember. Since it copies those files only which are newer than the files in the destination directory.

Our friends on the list may come up with some better suggestions.

With Best regards,
Amiyo Biswas.
Cell: 91-9433464329


----- Original Message ----- From: "samuel rodrigues" <[email protected]>
To: <[email protected]>
Sent: Wednesday, December 02, 2009 3:50 PM
Subject: Re: [AI] Batch File for Updating Backup Folder.


yeah make a batch file, and use the schedule program.
its in the control pannel.
regards
Samuel

On 12/2/09, Amar Jain <[email protected]> wrote:
Dear Sir,
Thanks for taking pain for helping me out.
The feature which I want to include with this script is of defining the time
after which it gets automatically updated. Say after every 10 minutes. I
will need to execute this script whenever I want to update if I don't
include that time feature.
Correct me if I am wrong. In a hurry, please shoot reply if you find
anything.
Will talk later.
----- Original Message -----
From: "Amiyo Biswas" <[email protected]>
To: <[email protected]>
Sent: Wednesday, December 02, 2009 2:41 PM
Subject: [AI] Batch File for Updating Backup Folder.


Hello,

If I remember correctly, Amar Jain asked for a batch file to update backup

folder. I have found a utility script on the net during my search for help

and scripts on the xcopy command. The body of the batch file should be
something like this to copy only those files that have been changed.

@echo off
xcopy C:\somefolder E:\backupfolder /D /E /C /R /H /I /K /Y

This command will copy all files, including those in sub-folders, that are

newer in the source folder. It will copy hidden as well as read-only files

and will create the destination folder and/or sub-folders if they do not
already exist.


With Best regards,
Amiyo Biswas.
Cell: 91-9433464329


To unsubscribe send a message to [email protected]
with the subject unsubscribe.

To change your subscription to digest mode or make any other changes,
please visit the list home page at

http://accessindia.org.in/mailman/listinfo/accessindia_accessindia.org.in





To unsubscribe send a message to [email protected] with
the subject unsubscribe.

To change your subscription to digest mode or make any other changes, please
visit the list home page at

http://accessindia.org.in/mailman/listinfo/accessindia_accessindia.org.in




To unsubscribe send a message to [email protected] with the subject unsubscribe.

To change your subscription to digest mode or make any other changes, please visit the list home page at http://accessindia.org.in/mailman/listinfo/accessindia_accessindia.org.in




To unsubscribe send a message to [email protected] with 
the subject unsubscribe.

To change your subscription to digest mode or make any other changes, please 
visit the list home page at
 http://accessindia.org.in/mailman/listinfo/accessindia_accessindia.org.in

Reply via email to