Scripting Blog [archived]

Formerly known as the "Hey, Scripting Guy!" blog

How Can I Read in IP Addresses and Use Them in a Script?

(image) Hey, Scripting Guy! I have a text file that contains a bunch of IP addresses. I’d like to be able to read these addresses from a script, and then use them to connect to those computers. Is that possible?-- RL (image) (image) (image) Hey, RL. You bet you can do this, and here’s how. First, make sure your text file looks ...