Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

On OSX TextMate have the alias mate which you can use with the pipe to open other program's stdout.

How can I achieve the same effect in Windows 7 with Notepad++?

Ex.: git diff master|edit

share|improve this question
up vote 4 down vote accepted

No, Windows does not have equivalent functionality to /dev/stdin or /dev/fd on Unixes. (It would be stdin, not stdout, from Notepad++'s point of view.) While GUI programs can read from stdin, they must be specially written to do so.

@echo off & setlocal
set f=%temp%\stdin-%random%%random%%random%.txt
more > "%f%"
start /wait notepad++ "%f%"
del "%f%"
share|improve this answer
And there's no way to write a wrapper? – o0'. May 14 '12 at 8:08
@Lohoris: See update. – grawity May 14 '12 at 8:12

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .