title: cmd Pinging a specific port and ip
body: <p>I'm trying to make a simple script on cmd (bat file) to check if couple of remote servers are up and up running</p>
  <p>i wanted to ping a specific ip and port.<br />
  when i got <code>%ERRORLEVEL% = 1</code> i knew there was a problem
  and when i got <code>%ERRORLEVEL% = 0</code> the server was ok</p>
  <p>after some fooling around with ping command i saw that you can't ping a specific port...</p>
  <p>then i tried using telnet on my script and telnet dosent return any value (to what i could find) if there is a successful Session or not</p>
  <p>if anyone got any other way to check if couple servers are running  for a script i would appreciate the help.
  Thanks</p>