A quick and dirty way to replace all notepad.exe calls would be to use the Registry:
1. Start regedit.exe
2. Go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion?\Image File Execution Options
3. Add a new key named notepad.exe
4. Add (in there) a new string named Debugger and use this value: emacsclientw.exe -na runemacs.exe -F
Note that this will pretty much break the usual “-F” behavior but it is needed as Emacsclientw has no -z parameter (yet).
– tux. 2013-09-04 14:25 UTC