Jump to content

dos equivalent?


gcue
 Share

Recommended Posts

not sure if any of you use(d) this in a dos batch file:

for /f %%F in (ip-list.txt) do (

ping %%F )

in this example it will ping every line found in ip-list.txt

what is the equivalent of that here in autoit?

-thanks.

Link to comment
Share on other sites

Lookup _FileReadToArray in the help file and look at the example and I am sure you will get the idea. Remember that AutoIt has a command Ping.


Time you enjoyed wasting is not wasted time ......T.S. Elliot
Suspense is worse than disappointment................Robert Burns
God help the man who won't help himself, because no-one else will...........My Grandmother

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...