I have a text file (computername.txt) that has 50 computer names. I want to read each computer name from the text file one at a time and perform an action on each machine. The computer names were originally in an excel spreadsheet and I just copies and pasted them to notepad. Not sure if I could open an excel file. What is the best way to do this?
Data in text file is formated like below:
computer01
computer02
computer03
They are all 10 characters. Thanks for the help.
Data in text file is formated like below:
computer01
computer02
computer03
They are all 10 characters. Thanks for the help.