check file completion before next command

I am a very beginner to DOS:
I need to write a batch program that copies a large text file between server for which I am using the xcopy command. In addition I need to place a second file that serves as a 'trigger' file in the destination directory as soon as the first file has been copied over completely.
Is there a way check if the first file copy has been completed? Any help would be appreciated.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!