A question of confirm

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Guest's Avatar

    A question of confirm

    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
    Pooh-Bah
    • Oct 2007
    • 588

    #2
    Re: A question of confirm

    Hi!

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

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

    Usage:
    option stop-on-error
    option confirmprompt|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

    Comment

    Working...