1.

Solve : Batch file for running mutliple telnets?

Answer»

Guys,

Please assist with following , i have never created a batch file.
Here is what i need,

1. A batch file that runs telenet command on approx 20 IPs.
2. If telnet is successfully connected , it should dis-connect it & move to next IP to run telnet test
3. If telnet FAILS or times out , should move to next one to do telnet test on next IP.
4. Give all results i.e. Successfully Connected , Failure or Timed Out on a notepad file.

Please help with one off request , i am not in prog. and cannt really use my brain that way. I am more into windows and happy to assist if any query comes to me via this respected forum in future.

CHEERS!!Quote from: namz on July 14, 2008, 10:07:32 PM

i am not in prog. and cannt really use my brain that way. I
nobody is born to know SOMETHING without learning. While someone with the free time can post a SOLUTION for you, however, the best way is still to start learning batch for yourself.and here is the place to learn it.Thanks ..can someone atleast provide me some base structure or something to start with ??you can start with batch if you like, however for the problem you need to solve, M$ telnet client does not allow you to script it.
you might want to learn a different language that comes with telnet LIBRARIES and modules that allow you to telnet remotely.
See here for an example using Perl.thank you doggie..i'll have a look at this..

cheers!!doggie??? lolThe list of the IPs...are they always the same? Or are you looking to scan a group of IPs and than move to ANOTHER group?

Nope they will always remain same , 15 -18 IPs and thats it...no changes in that..any HELP buddy ?


Discussion

No Comment Found