Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

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

by Discipulus (Canon)
on Nov 02, 2015 at 09:32 UTC ( [id://1146687]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    
      set _TEST="c:\path\dir & test"
    
      set PATH=%_TEST%;%drivep%\perl\site\bin;%drivep%\perl\bin;%drivep%\c
    +\bin;%PATH%
    
  2. or download this
    c:\strawberry>set
    ...
    ...
    c:\path\dir & test>perl -e "print $ENV{PATH}"
    c:\path\dir & test;C:\strawberry\perl\site\bin;C:\strawberry\perl\bin;
    +C:\strawberry\c\bin; .....
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (5)
As of 2024-03-29 11:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found