Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.
Computer Hope forum e-mail issues and down time
0 Members and 1 Guest are viewing this topic.
Thankx ghost I need to clarify 2 more things1. I am doing telnet thru the batch file and interactively typing the user name and password and I need to test the status code of telnet command then execcute another command if successful. How to achieve this? I will write the algorithm below: telnet <hostname> if telnet is SUCCESSFUL execute command else EXIT2. Is it possibe to trap ctrl-D character in batch file.