grepWin & Notepad++: Opening files at the line number.

Worked out a cool tip to combine grepWin & Notepad++ to open files at the line number of the search.

In grepWin, click on the settings button in the middle of the screen (next to the “Only one instance” checkbox.
Add this to the Editor box:

C:\Program Files (x86)\Notepad++\notepad++.exe -n%line% "%path%"

You’ll need to update the location of your Notepad++ if it’s not installed in the default location.

UPDATE: I discovered you need to add quotes around the %path% to open documents with spaces in the full path name!