Sign in to follow this  
Followers 0
joekerr

Read from hosts file, pull out IP

3 posts in this topic

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



#2 ·  Posted (edited)

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

I think I got around the issue.

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  
Followers 0