Can the Windows Telnet client be scripted?

3

1

Is it possible to use the Windows Telnet client to run a series of commands in a script?

If not are there any alternatives that can be?

LachlanG

Posted 2009-07-16T23:57:20.270

Reputation: 675

1Yes it is. I bet this could be easily answered @StackOverflow.com – OscarRyz – 2009-07-17T00:06:22.247

I mean, I have seen it but don't quite remember how – OscarRyz – 2009-07-17T00:06:52.777

I second that this question could go on StackOverflow – Dan McClain – 2009-07-17T00:08:56.170

Actually I was thinking of trying ServerFault next :-) – LachlanG – 2009-07-17T00:33:58.270

1This is a perfectly good place for such questions. – nik – 2009-07-17T04:42:47.883

Answers

1

I got a nice solution for this over on ServerFault when I asked this question over there.

LachlanG

Posted 2009-07-16T23:57:20.270

Reputation: 675

2

I suggest installing Cygwin and using the ssh client with public key authentication -- so you won't even need to hack the password in (which is a bad idea at all times).

nik

Posted 2009-07-16T23:57:20.270

Reputation: 50 788