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?
Software/Hardware used:
ASKED:
August 10, 2011 6:53 PM
UPDATED:
March 31, 2012 6:56 PM
Robocopy (free) does this. It has a summary at the end of the log that gives you a bunch of summary statistics.. very helpful!
For a trivial solution, you can run:
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