Record time taken for batch to process a file

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
batchcc
Posts: 139
Joined: 17 Aug 2015 06:05
Contact:

Record time taken for batch to process a file

#1 Post by batchcc » 29 Oct 2015 14:12

I have a batch file similar to this

Code: Select all

@echo off 
Cls
Set /p word
If %word%== this echo that
:: with about 500 more if statements

How can I see how long it takes the file to reach an if statement and pipe the time taken into a text file ? Thanks.


Post Reply