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


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

a suggestion to use setx PATHEXT=%PATHEXT%;.PL turned out to be invalid synta

Type help set and read that manual :)

While you're at it read help assoc and help ftype

Replies are listed 'Best First'.
Re^4: Win7, ASSOCiation , and @ARGV
by ww (Archbishop) on Mar 14, 2012 at 14:11 UTC
    Thank you.

    I thought some of my remarks above suggested that I'd failed to find an answer in any of those... Is there some particular piece that my prior remarks show that I ignored or misunderstood something?

      I thought some of my remarks above suggested that I'd failed to find an answer in any of those... Is there some particular piece that my prior remarks show that I ignored or misunderstood something?

      Um, I posted this before your update in response to invalid syntax ... regarding set. If pathext was going to work, it would have worked immediately, no need for rebooting. I'm out of ideas :)

        OK... <lag> is a great thing   :-)
        but the M$ docs certainly do invite a serious case of <MIGO> and I was afraid I'd missed something
        so, "thanks!" again.

        So, restating for future readers, it appears that set is retained in Win7, but the former (I think, right thru Vista) variant, setxwhich was required to set %PATHEXT% permanently, seems to have has been removed as of Win7.