Welcome, Guest. Please login or register.

Login with username, password and session length
Pages: [1]   Go Down
Print
Author Topic: DBCOPY Command Line Switches  (Read 1357 times)
0 Members and 1 Guest are viewing this topic.
dspolley
Member

Posts: 1


View Profile
« 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...
Logged
Joe Chasan
Member

Posts: 62


View Profile WWW
« 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.
Logged
Pages: [1]   Go Up
Print
Jump to:  

Valid XHTML 1.0! Powered by SMF 1.1.15 | SMF © 2011, Simple Machines | Massive Blue Theme By Cadosoas Valid CSS!