For some reason, I can't get my Windows batch script to read a file. The file exists...I've checked a million times. The path is correct...I've checked a million times.
Yet it does not enter the "for" loop. If I put double-quotes around the %DataElements%, it goes into the For loop just fine and prints the value of %DataElements%. I paste that value in the CMD window and up pops the file. It doesn't make sense.
for /f "tokens=*" %%a in (%DataElements%) do (
echo line is !line!
What the heck?!