1.

Solve : Redirect output of a command to variable?

Answer»

The BATCH script which I POSTED works for me.

I/P
File: IP.txt
ip:127.0.0.1:SERVER1
ip:127.1.1.1:Server2
ip:1.1.1.1:Server3

O/P:
Server1 [OK]
Server2 [OK]
Server3 [Not OK]

File : Not_Ping.txt
Server3:1.1.1.1 @ Fri 10/28/2005 13:17:01.34



Discussion

No Comment Found