PDA

View Full Version : A question of confirm


12-Apr-2005, 10:17 AM
Sorry ,I am not good at english. My question is :
In script mode, when source file's time old than target, this software always give me a confirm window , I want say "Yes" to all selection, how to ?
Thanks.

Script:
criteria timestamp
load %1 %2
expand all
select left.newer.files left.orphan.files left.older.files
copy left->right

chrroe
12-Apr-2005, 12:15 PM
Hi!

Make use of the option command. Read the BC helpfile to learn more about it.

----------------------------------------------------
OPTION

Usage:
option stop-on-error
option confirm:(prompt|yes-to-all|no-to-all)

Adjusts script processing options.

stop-on-error makes the script watch for various error conditions, including file operation errors, and when one occurs prompts the user before continuing.
confirm can use prompt, yes-to-all, or no-to-all to handle confirmation dialogs that occur due to file operations. By default, prompt is used.
----------------------------------------------------



Bye
Christoph