in reply to Re: redirection problem
in thread redirection problem

Yes, I though it will be something with registry settings, but the output is exactly the same as yours.

Replies are listed 'Best First'.
Re^3: redirection problem
by BrowserUk (Patriarch) on Jun 22, 2012 at 09:32 UTC
    the output is exactly the same as yours.

    Really? You are using a 64-bit perl? Are you sure the quoting of the arguments is exactly the same?

    How about:

    C:\test>set pathext PATHEXT=.pl;.COM;.EXE;.BAT;.CMD;

    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?

      It was little different, but changing this var didn't help:

      c:\>set pathext PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.py;.pyw c:\>set pathext=.pl;%pathext% c:\>set pathext PATHEXT=.pl;.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.py; +.pyw c:\>script.pl > noperl.txt c:\>type noperl.txt

        Are you sure that the output from ftype is: Perl="c:\perl64\bin\perl.exe" "%1" %*

        And not (say): Perl="c:\perl64\bin\perl.exe %1 %*" ?

        Because the only way I can (partially) reproduce your description is to change my ftype to the latter.


        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?