Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

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

by Anonymous Monk
on Nov 02, 2015 at 09:43 UTC ( [id://1146688]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    @setlocal
    @set "thisfile=%~f0"
    @echo "%thisfile%"
    ...
    @echo escaped-thisfile "%thisfile%"
    @echo;
    @endlocal
    
  2. or download this
    $ "rock&roll\this3.bat"
    "D:\rock&roll\this3.bat"
    escaped-thisfile "D:\rock^&roll\this3.bat"
    ...
    $ D:\rock^&roll\this3.bat
    "D:\rock&roll\this3.bat"
    escaped-thisfile "D:\rock^&roll\this3.bat"
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (7)
As of 2024-04-25 08:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found