in reply to Problem using system to call securecrt

Try to remove the last backslash
$crtdir="C:\\Program Files\\SecureCRT 3.0";

Replies are listed 'Best First'.
Re^2: Problem using system to call securecrt
by renz (Scribe) on Feb 07, 2005 at 15:32 UTC

    Also remember that windows has the tilde, which is nice for situations where spaces in filenames can become problems:

    my $crtdir = "C:\\progra~1\\secure~1\\";

    Update: Gellyfish is right -- it is a good idea to verify. But this is moot in light of ikegami's post.

    /renz.
    "The term clinical depression finds its way into too many conversations these days. One has a sense that a catastrophe has occurred in the psychic landscape." --Leonard Cohen.

      You may not want to blindly do <first six chars of file or dir name>~1 but check using dir /x what the shortened version would be.

      /J\

      No need, Perl (and chdir specifically) can handle long file names.