Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Problem using system to call securecrt

by Realbot (Scribe)
on Feb 07, 2005 at 07:56 UTC ( #428658=note: print w/replies, xml ) Need Help??


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 10: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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://428658]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (1)
As of 2022-11-26 11:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?