in reply to Re: Problem using system to call securecrt
in thread Problem using system to call securecrt

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.

Replies are listed 'Best First'.
Re^3: Problem using system to call securecrt
by gellyfish (Monsignor) on Feb 07, 2005 at 15:40 UTC

    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\

Re^3: Problem using system to call securecrt
by ikegami (Patriarch) on Feb 07, 2005 at 15:56 UTC
    No need, Perl (and chdir specifically) can handle long file names.