Steve:

A) Get the replication working

B) Clean up the messy IF-ENDIF statements in your code. They show a lack of understanding of the logical structure used to intiate the COPY stements for missing files. Essentially, the COPY statements will not work unless in a very narrowly defined situation, amely if all files are missing. If just one file is missing, it won't work.

C) What's the WRITEVALUE doing in your batch file? WRITEVALUE is a KiXtart function and won't work in a batch file

[ 03. December 2002, 15:27: Message edited by: sealeopard ]
_________________________
There are two types of vessels, submarines and targets.