Discussion Locked

timing how long a batch file takes

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Hello,
We have a batch file which copies databases from one win2k server to another win2k server. This batch file runs in the middle of the night. How can we tell how long this batch file takes to copy over the databases. Thanks.

5 replies

by syscokid

First two lines of batch file

date /T >>[your path here]\time.txt
time /T >>[your path here]\time.txt

Last two line of batch file:

date /T >>[your path here]\time.txt
time /T >>[your path here]\time.txt

Then just view time.txt.

This discussion is closed to new replies.