In Linux (Bash), there's a way to use a command as a parameter for another command, using back-ticks:
> echo ===== `time` =====
This would print:
===== The current time is: 12:22:34.68 =====
Is there a way to do this in cmd.exe on WIndows ?
I know this may not be what you want, because you mentioned command substitution... So this may be it:
For more hints about the usage of