With reference to my previous question and responses received (which can be found here), I am seeking a help regarding a Batch Script. Based on the responses received to above m
Rebuild your FOR lines to the following syntax:
FOR
FOR /F "tokens=2 delims==" %%i IN ('wmic /node:%1 computersystem get Name /value') DO echo (set A=%%i)
(and obviously remove the echo when the output satisfys you)
echo