Processing the contents of a text file using FOR loop

Contributed by gmartin on February 5, 2004 under Batch file programming

As admins, we often have to take actions against a list of things (computers, servers, file shares, etc). One great way to approach this is to put the list in a test file and use a FOR command to loop through the file and take a action against the contents.

Comments Continue reading...