I'm stuck trying to print a custom command execution time. If I try to do something like this:
echo %time% & START "TestAgente" /W systeminfo & echo %time%
I got same begin and end time:
I have tried with some combinations playing with delayed-expansion, but I think it fails (I guess) because in running 3 commands in a line instead of batch file.
Does anyone done something like this (without PowerShell). It has to be a single command line that someone could copy, paste and execute.