bat file to connect UNIX server.

Hi,

i am trying to connect to unix server from windows bat file using telnet command. But bat file is unable to pass username and password hence could not login to UNIX.

My requirement is to connect UNIX server from .bat file and run few macros at a perticular schedule. My UNIX login does not have the access to use crontab hence i am going for windows bat files.

I googled a lot to get the answer for - how to connect UNIX from windows bat file but not getting any proper answer.

Plz help!!

Thankx in advance.

If you had you and your Windows client added to the hosts.equiv of the Unix machine you are trying to telnet to then you could do:

C:\> telnet -l user_name

Without needing to try and provide a password.

Whether you can then do something Unix like such as:

C:\> echo command | telnet -l user_name

I'm not exactly sure, my DOS is very rusty!