View Single Post
  #2  
Old September 16th 20, 09:47 PM posted to microsoft.public.windowsxp.help_and_support
Barry Schwarz[_3_]
external usenet poster
 
Posts: 3
Default Task time duration

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
Ads