Task time duration
I am running a Robocopy task using a a script in a .bat file. What command lines would I have to incorporate into the script that will post somewhere (i.e. a text file) the start and ending time of the task so its duration can be ascertained? This does not seem possible directly from Robocopy itself, despite its multitude of switches.
All suggestions appreciated. |
Task time duration
|
Task time duration
|
Task time duration
On Wednesday, September 16, 2020 at 3:48:04 PM UTC-5, Barry Schwarz wrote:
On Wed, 16 Sep 2020 12:06:50 -0700 (PDT), wrote: I am running a Robocopy task using a a script in a .bat file. What command lines would I have to incorporate into the script that will post somewhere (i.e. a text file) the start and ending time of the task so its duration can be ascertained? This does not seem possible directly from Robocopy itself, despite its multitude of switches. All suggestions appreciated. Before calling Robocopy: time /T filename.txt After Robocopy returns: time /T samefilename.txt -- Remove del for email Many thanks for your help |
All times are GMT +1. The time now is 10:11 PM. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 2004 - 2006 PCbanter
Comments are property of their posters