Reputation: 601
I have a 6 .vbs files. and I incorporated them into a file said as Main.vbs. Say
Main.vbs
Option Explicit
A.vbs
B.vbs
C.vbs
So May I get timer count which will display the total time spent in the main.vbs execution?
A pop-up window will come to the user with only "OK" button, would display the time in mm:ss format.
Thanks,
Upvotes: 0
Views: 668
Reputation: 186
StartTime = Timer
//INSERT YOUR CODE HERE
Elapsed = Timer - StartTime
WScript.Echo Elapsed
Upvotes: 1