PDA

View Full Version : Unconditionally overwrite


bentam
02-Oct-2008, 07:04 PM
I use a script to mirror a folder from a computer to another. Now whenever BC3 encounters a file which is newer in the target folder, it will stop and prompt for confirmation. How can I change the script making it unconditionally overwrite the target file. My existing script is as follows:

load "\\computer1\folder1=\\computer2\folder2"
sync mirror:rt->lt


TIA
Ben Tam

Chris
03-Oct-2008, 01:41 PM
Hi Ben,

At the beginning of your script, include the command "option confirm:yes-to-all" to confirm all file operation prompts.

bentam
03-Oct-2008, 07:13 PM
Thanks!

Ben