Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^5: Win7, ASSOCiation , and @ARGV

by BrowserUk (Patriarch)
on Mar 14, 2012 at 20:23 UTC ( [id://959660]=note: print w/replies, xml ) Need Help??


in reply to Re^4: Win7, ASSOCiation , and @ARGV
in thread Win7, ASSOCiation , and @ARGV

Try running this. It just might fix your problem:

>reg add HKLM\Software\Classes\Perl\Shell\Open\Command /t REG_EXPAND_S +Z /d "c:\perl64\bin\perl.exe \"%1\" %*"

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.

The start of some sanity?

Replies are listed 'Best First'.
Re^6: Win7, ASSOCiation , and @ARGV
by ww (Archbishop) on Mar 15, 2012 at 13:20 UTC

    Couldn't run from cmd, directly, despite various contortions (and the fact that I am Administrator), so, this AM, as suggested elswhere and in another context, stored your command as a .bat on desktop and right clicked to get the option to run as Admin.

    Bingo. No complaints and now the key has REG_EXPAND_SZ.

    Reboot is again in order to test the original script again.

    Post Reboot Update: :(

    Looks like time to reinstall.

    Update2: SOLVED! There's much useful info in this thread, which led to the conclusion that reinstalling Perl was the first best option. Using AS on Win7 (and probably elsewhere), right clicking the Perl executable in REMOVE PROGRAMS brings up 3 options, of which "Repair" uses the originally downloaded .msi.

    ... and, lo and behold, the quirks are gone!

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (2)
As of 2024-04-19 20:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found