in reply to Piped input read by Windows Vista but not by Windows XP

That is an old cmd.exe limitation, maybe cmd powershell is different? Anyway, use pl2bat because apparently cmd.exe will only pipe to programs/batch files, it considers everything else just files

?node_id=3989;HIT=win%20pipe;re=N pipe to script requires '| perl' on win32

  • Comment on Re: Piped input read by Windows Vista but not by Windows XP

Replies are listed 'Best First'.
Re^2: Piped input read by Windows Vista but not by Windows XP
by roho (Bishop) on Nov 02, 2010 at 00:21 UTC
    Thanks for the explanation. It makes sense now. Too bad M$ never got around to fixing this in XP.

    "Its not how hard you work, its how much you get done."

      It has been fixed in most cases for a long time. See Re: Out of date over <> and 5.10 (redir) for more about it. Still, nobody has been able to demonstrate what causes only some instances to exhibit this problem.

      - tye