You are not logged in.
Hi !!
Need help.......
I need to create a bat scirpt that check if a telnet server is online. I have use this line before:
ping 10.45.1.25 -n 1
if not errorlevel 1 goto checkonline
but the ping command is nolonger allow in the network anymore.
Anyone have any tips ??
Fredrik from Sweden
Offline
I guess you could try using a command line port scanner (nmap, for example) to see if a given port is open on the server ("23" in the case of telnet). That's even more effective than a ping because you're checking for the actual service you want to connect to, rather than just whether the server is available.
cmd | *sh | ruby | chef
Offline