|31 May 2012||#1|
| || |
Timing an Operation in a Batch File.
I have a simple batch file to copy using xcopy to place a copy of certain files onto an external usb hard disk. I would like to find a way to time how long it takes to complete the copying. Is there a function or something I can can call at the batch file start and record the system clock time and then call again at the end of the batch file right before a pause statement that will allow me to determine how long the operation ran? I guess I am asking if can build a 'stopwatch' into the batch file.
|My System Specs|
|Similar help and support threads for2: Timing an Operation in a Batch File.|
|How to run a batch file at logoff & some batch scripting help please||Backup and Restore|
|How do I prevent CD/DVD drive access on every file operation?||Hardware & Devices|
|How to copy a file from 1 pc to another pc in network using batch file||General Discussion|
|Batch File that grabs file names from folder to insert into batch file||General Discussion|
|Help required creating batch file to read .csv file||General Discussion|
|batch file open file for program in the startup folder||General Discussion|
|How to create a batch file that will move files based on the file type||General Discussion|
|Our Sites ||Site Links ||About Us ||Find Us |
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd
All times are GMT -5. The time now is 01:25 AM.