For loop in CMD parsing entries in a TXT file
From Tech-Wiki
Revision as of 15:09, 14 July 2016 by Fabricio.Lima (Talk | contribs) (Created page with "for %a in (host1 host2 host3) do Ping %a for /F %a in (hosts.txt) do Ping %a")
for %a in (host1 host2 host3) do Ping %a
for /F %a in (hosts.txt) do Ping %a