Skip to main content
16 events
when toggle format what by license comment
Aug 25, 2021 at 6:25 answer added jeb timeline score: 0
Jun 18, 2019 at 7:54 comment added aschipfl You may be interested in this StackOverflow thread: How do I measure execution time of a command on the Windows command line?
Jun 17, 2019 at 19:50 answer added AFH timeline score: 2
Jun 17, 2019 at 17:00 comment added Worthwelle In the Windows command prompt, all environment variables used on a single line (including when separating them by &) are evaluated right before the line is run, not when the command you're using in the line is run. So you're essentially running echo started V2 at 15:50 & calculate_V2.exe & echo ended V2 at 15:50. The only way to fix this is with a significant change to your existing code.
Jun 17, 2019 at 16:31 comment added fdiogo the file log.txt is updated 10 minutes later with the same hour, the output of the log.txt is in the question
Jun 17, 2019 at 16:05 comment added AFH You say the scripts run for ten minutes, so do the end messages come out immediately or ten minutes later?
Jun 17, 2019 at 15:59 comment added fdiogo Nothing comes out of the script, it just creates a file. I want the execution time to come from echo ended at !time:~0,5!
Jun 17, 2019 at 15:39 comment added AFH Do the completion messages come out after the scripts have finished, but with the wrong time?
Jun 17, 2019 at 15:26 history edited fdiogo CC BY-SA 4.0
added 45 characters in body
Jun 17, 2019 at 15:24 comment added fdiogo exe files are compiled from matlab and i have no access to the source code
Jun 17, 2019 at 15:21 comment added AFH Are the EXE files command-line utilities, or GUI applications?
Jun 17, 2019 at 15:14 history edited fdiogo CC BY-SA 4.0
added 174 characters in body
S Jun 17, 2019 at 15:12 history suggested aschipfl
corrected tags;
Jun 17, 2019 at 15:10 review Suggested edits
S Jun 17, 2019 at 15:12
Jun 17, 2019 at 15:10 review First posts
Jun 17, 2019 at 16:19
Jun 17, 2019 at 15:07 history asked fdiogo CC BY-SA 4.0