in reply to PERL Telnet Times Out

Please use <code> tags, as described in Writeup Formatting Tips.

Your lines:

$telnet->cmd("cd c:\\Documents and Settings\\vtat\\SCRIPTS\\SCL"); $telnet->waitfor('/.*\\n/');
end up waiting for a literal "\n", since you have escaped the backslash.

That will never come - try replacing the waitfor with:

$telnet->waitfor('/\n/');
The ".*" is unnecessary.

Update: Have you considered using the free psexec, that does essentially the same thing more natively?

     Syntactic sugar causes cancer of the semicolon.        --Alan Perlis