Telnet thro DOS batch file
I want to access remote machine by telnet command which i want to invoke through DOS batch file
I had written following code as script:
telnet -l <login name> <host ip address>
it connects to the machine of specified ip address, but asks me for the password.
I would like to know how should i give login and password both in one line for telnet thro' script and then run a simple command say :
cd <directory name> on this machine accessed thro' telnet
Please help me out for this

