Log file copy time

210 pts.
Tags:
Batch file
Batch files
Scripts
VB script
Is it possible to log how long it takes for a file to copy from one location to another? I am using Windows and wanted to output to a text file how long a file transfer took. Can anyone help with this process?
ASKED: August 10, 2011  6:53 PM
UPDATED: March 31, 2012  6:56 PM

Answer Wiki

Thanks. We'll let you know when a new response is added.

Robocopy (free) does this. It has a summary at the end of the log that gives you a bunch of summary statistics.. very helpful!

Discuss This Question: 2  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • Kimmaay
    Robocopy (free) does this. It has a summary at the end of the log that gives you a bunch of summary statistics.. very helpful!
    25 pointsBadges:
    report
  • TomLiotta
    For a trivial solution, you can run:
    ECHO %TIME% myfile.name >>mylog.txt
    That would append the current time and "myfile.name" to the text file named mylog.txt in the current directory. You could echo a before-time, run the copy, then echo the after-time. It won't be exact, but the difference should be very small. It can be tested easily from a Windows command line. Tom
    125,585 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following