hi,
I've tried to do this using cgywin, but it doesn't work.
Now, I want to do a script using batch on windows server 2000.
This script is to router configuration.
My script is:
@echo off
(echo routerpass
echo routerpass
echo enable
echo routerpass
echo configuration terminal
...
) | telnet router_ip
but it doesn't work either.
How can I do it?
txs.
I've tried to do this using cgywin, but it doesn't work.
Now, I want to do a script using batch on windows server 2000.
This script is to router configuration.
My script is:
@echo off
(echo routerpass
echo routerpass
echo enable
echo routerpass
echo configuration terminal
...
) | telnet router_ip
but it doesn't work either.
How can I do it?
txs.