Author Topic: DBCOPY Command Line Switches  (Read 1515 times)

0 Members and 1 Guest are viewing this topic.

dspolley

  • Member
  • Posts: 1
    • View Profile
DBCOPY Command Line Switches
« on: July 30, 2009, 02:46:42 PM »
I am using DBCOPY in a batch file (on a windows xp machine) and I was hoping someone knows if there is a way to add command line switches so I don't have to manually answer the Overwrite file question and then press Enter for each file that is being overwritten.  I would like to have the batch file run automatically at night without needing to do anything.

Thanks...

Joe Chasan

  • Member
  • Posts: 62
    • View Profile
    • Magnatech Business Systems, Inc. Company Website
Re: DBCOPY Command Line Switches
« Reply #1 on: August 03, 2009, 08:34:51 AM »
dbcopy had no command line switches as far as i recall - it is so old and hasn't been updated in decades.
that being said, if you are a decent coder you should be able to create a string that answers all questions for you and pipe it to dbcopy as STDIN (standard input).
it is a cheating, sloppy solution i grant you, but i've no other suggestions.