Jump to content
Sign in to follow this  
joekerr

Read from hosts file, pull out IP

Recommended Posts

joekerr

I'm new to AutoIt and I am trying to find a way to pull only the IP addresses out of a hosts file, and writing that the IP addresses to a new file. I've played around with FileReadToArray, but not having much luck with getting this figured out. I was wanting to see if anyone has tried or accomplished this w/ AutoIT.

Thanks

Share this post


Link to post
Share on other sites
Exit

Welcome to the forum.

Please show us your code, so we can  provide a solution.

And tell us, why you need such a file.

Edited by Exit

My UDFs, Abbrevs and Snippets
If you like my post, just click the like button :) 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.