Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Any way to do a procopy thru a .bat file ?

Status
Not open for further replies.

olmsteadf

IS-IT--Management
Jul 19, 2000
8
0
0
US
I am looking for a .bat file that can do a procopy and a truncate thru an NT batch file. Can anyone help ?
 
Hi,

You can write a simple bat file using the normal batch commands and it will work.

eg: in your batch file you can say

procopy source-db-name target-db-name -g bi-file -silent
--------------------
-silent means:
Suppresses the output of work-in progress messages.

But this will work only if the path are set. If not you can include the following lines before the procopy line

set DLC=<dlc_directory>
set PATH=%PATH%%DLC%\bin

Good luck

Samantha
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top