Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^2: Invoking Perl via batchfile: ampersand in PATH ( this.bat )

by Athanasius (Archbishop)
on Nov 02, 2015 at 10:09 UTC ( [id://1146694]=note: print w/replies, xml ) Need Help??


in reply to Re: Invoking Perl via batchfile: ampersand in PATH ( this.bat )
in thread [OT] Invoking Perl via batchfile: ampersand in PATH [Solved]

Thanks! Not sure if it’s what you had in mind, but your advice:

make a hard link with a shorter name without spaces and amperstands

gave me the clue I needed: I replaced the directory name with its DOS short name (8.3 format) obtained via dir /x. This is a better solution, as it means I only have to make a single change to the environment variable definition, instead of updating a separate batch file for each Strawberry Perl portable edition.

Thanks again,

Athanasius <°(((><contra mundum Iustus alius egestas vitae, eros Piratica,

Replies are listed 'Best First'.
Re^3: Invoking Perl via batchfile: ampersand in PATH ( this.bat )
by Anonymous Monk on Nov 02, 2015 at 10:21 UTC

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (2)
As of 2024-04-25 06:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found