Computer Hope

Microsoft => Microsoft DOS => Topic started by: Brad on November 11, 2004, 07:37:29 AM

Title: Help making a bat file to telnet into a server.
Post by: Brad on November 11, 2004, 07:37:29 AM
Hi I am new at this and I just want to know how to set up a .bat file that will open a telnet session, logon with user name and password. Then at the prompt I would like to exacute the following command trackinv. this is an exe file. Once this file has run I would like to copy the saved date from the server directory to my local pc.

Is there any way to do this with a bat file and could you please give me the command lines to use.
Title: Re: Help making a bat file to telnet into a server
Post by: JoeGeezer on November 11, 2004, 07:55:22 PM
 I think Putty will do it easily.  Putty is a freeware and very powerful Telnet client.  

http://the.earth.li/~sgtatham/putty/0.56/htmldoc/Chapter3.html#S3.7

If you read all the instructions about how to use automated logins/passwords and scripts with Putty and still need help let me know?  -  Joe