Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^2: [OT] Invoking Perl via batchfile: ampersand in PATH

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


in reply to Re: [OT] Invoking Perl via batchfile: ampersand in PATH
in thread [OT] Invoking Perl via batchfile: ampersand in PATH [Solved]

Hello Discipulus,

Thanks for the reply. Unfortunately, it doesn’t help. :-( Adding %_TEST% in this way does succeed in getting the full directory name into the PATH variable; but the later %PATH% in the assignment still chokes on the ampersand, as before.

However, adding double quotes around the assignment does work, after all:

set "PATH=%drivep%\perl\site\bin;%drivep%\perl\bin;%drivep%\c\bin;%PAT +H%"

(I made a mistake when testing.)

Junction looks interesting. I’ll have to look into it.

Thanks,

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

Log In?
Username:
Password:

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

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

    No recent polls found