What is the Windows/batch version of this Bash script below:
MY_VAR=`date`
echo $MY_VAR
affecting the value of an operation back into a var?
In windows I been trying:
set MY_VAR=%date /T%
set MY_VAR=!date /T!
...
echo %MY_VAR%
I have been looking at: Windows batch files: How to set a variable with the result of a command? without any success...