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

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?

Replies are listed 'Best First'.
Re^5: Win7, ASSOCiation , and @ARGV
by Anonymous Monk on Mar 14, 2012 at 14:35 UTC

    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.

        but the former (I think, right thru Vista) variant, setx

        Have you searched the system dirs for the executable? :

        c:\>attrib /s %systemroot%\setx.exe A C:\Windows\System32\setx.exe A C:\Windows\SysWOW64\setx.exe A C:\Windows\winsxs\amd64_microsoft-windows-setx_31bf3856ad +364e35_6.0.6000.16386_none_065eaf56d482c350\setx.exe A C:\Windows\winsxs\x86_microsoft-windows-setx_31bf3856ad36 +4e35_6.0.6000.16386_none_aa4013d31c25521a\setx.exe

        Maybe it is still there, but not on the path for some reason?

        which was required to set %PATHEXT% permanently, seems to have has been removed as of Win7.

        You can also do that via the "Computer" icon on the desktop.

        Right click and select "properties"->Advanced system settings->Environment variables->system variables->(scroll and select)PATHEXT->Edit->(change)->OK.

        (Of course, the exact sequence has probably changed on Win7.)

        Hardly convenient, but you only need do it once.


        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?