I am attempting to set an env variable in the batch script and read in it's expansion from an external file, then print the value.
--batch file -----
for /f %%i in (line.txt) do @set VAR=%%i
--As output -----
I am wanting to see Z: echo to the command window. With what I have above, it will currently echo %X%, but I need that to expand also.