ftype txtfile=c:\windows\NOTEPAD.EXE %1
Edit: going with EmEditor; forgot that existed
Reply on news.ycombinator.com