Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Telnet through batch program. Urgent!!!
Name: Sridhar Rao Date: May 17, 2002 at 04:09:35 Pacific
Comment:
Hi all, I want to automatically open a telnet session through a batch script. The user name and password should also be automatically supplied by the batch script. After opening the telnet session it should execute a set of commands on the telnet server and the output should be logged into a file on the client(from where the telnet session is invoked). I have tried using a batch script but it opens a telnet window. This is not my objective. I hope there should be some way by which we can suppres the telnet command/run it in the background. This is very urgent for me and my expertise in batch programming is novice. Regards, Sridhar.
Name: Miskva Date: May 17, 2002 at 04:47:50 Pacific
Reply:
Maybe it doesnt work for what you are trying, but I would suggest
- create a file with the answers he asks when starting the program - use reverse redirection
ex.
create the file input.log: ======================================== user pass bin mget file.ext quit ========================================= in the batch script:
telnet server < input.log
0
Response Number 2
Name: Henry Date: July 3, 2002 at 01:30:24 Pacific
Reply:
I tried the code suggested...it still doesn't work..so how?
0
Response Number 3
Name: daniel Date: July 8, 2002 at 19:39:56 Pacific
Reply:
I have also gotten the same urgent problem for my application. Is there somebody can help? Thanks Daniel
0
Response Number 4
Name: Praveen Date: July 9, 2002 at 12:52:25 Pacific
Reply:
I tried too. It didn't help. Any suggestions are greatly appreciated.
Summary: I need help writing a bath program that will backup one directory to another. The batch program needs two take two parameters and only two parameters, a source and destination. Once the parameters are...
Summary: Hi, I have a batch program that copies a backup file everyday to a cdr. I need to include in the batch file code that checks to see if there is enough space left on the disk for the backup file being ...