http://www.perlmonks.org?node_id=1038465


in reply to Re^3: What's wrong with @ARGV - or with me?
in thread What's wrong with @ARGV - or with me?

C:\Windows\system32>assoc .pl .pl=Perl C:\Windows\system32> C:\Windows\system32> C:\Windows\system32>ftype Perl Perl="C:\Perl64\bin\perl.exe" "%1" %* C:\Windows\system32>

Regards, Karl

«The Crux of the Biscuit is the Apostrophe»

Replies are listed 'Best First'.
Re^5: What's wrong with @ARGV - or with me?
by BrowserUk (Patriarch) on Jun 12, 2013 at 13:21 UTC

    What is your path set to?

    Why did you switch from d:\tmp\scripts to c:\windows\system32 to run those commands?


    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.
      "Why did you switch...?"

      I don't know :-(

      But this fixed it: HKEY_CLASSES_ROOT\Applications\perl.exe\shell\open\command was "C:\Perl64\bin\perl.exe" "%1". It should be "C:\Perl64\bin\perl.exe" "%1" %*

      One-hit wonder ;-)

      Best regards, Karl

      «The Crux of the Biscuit is the Apostrophe»

        But this fixed it: HKEY_CLASSES_ROOT\Applications\perl.exe\shell\open\command

        Weird!

        I currently have 5 versions of AS perl installed on this machine -- and I've had many others installed previously -- and that key doesn't exist in my registry.

        What creates it and what uses it?


        With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
        Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
        "Science is about questioning the status quo. Questioning authority".
        In the absence of evidence, opinion is indistinguishable from prejudice.