Skip to content

This release can works with Notepad++ plugin manager.

Compare
Choose a tag to compare
@lygstate lygstate released this 24 May 14:33
· 21 commits to master since this release

Introduction

This tool designed as a Notepad++ plugin by Yonggang Luo, when
it installed as a Notepad++ plugin or running NotepadStarter.exe in the Notepad++ app
directory, it's will automatically replace the system default notepad.exe application with
Notepad++ (Without need for removing anything from the windows system.). It's tested
under Windows 7, but Windows XP should also works.

This tool is based on the sources from npplauncher
by [Stepho,2005] and npplauncher at sf
by Mattes H. Mattesh,2013.

Design

NotepadStarter make use of a debugger feature in Windows the system will call a hooked
process with appended parameters to allow debugging the intended application.
This hook application will be call whenever the correct application was resolved.

notepad.exe receives always only one parameter which is now just deferred to Notepad++.
Because notepad.exe is a blocking executable, so NotepadStarter behaves blocking as notepad.exe.
Notepad++ have multiple tab page, so NotepadStarter will terminated when the corresponding
tab page closed or the corresponding Notepad++ application is closed.

Release

Use Plugin Manager to release NotepadStarter

Contributions

Comments, issues and contributions can be done at Github|NotepadStarter

NotepadStarter.exe parameters

  • NotepadStarter.exe :install-registry
    Install the NotepadStarter as notepad.exe Image File Execution
  • NotepadStarter.exe :install-replace
    Replace the notepad.exe under %WinDir%, %WinDir%\System32 and %WinDir%\SysWOW64 with NotepadStarter.exe
  • NotepadStarter.exe :uninstall
    Uninstall NotepadStarter
  • NotepadStarter.exe valid-windows-file-path
    Open the file valid-windows-file-path by notepad++ with blocking mode

Installation

Downloading the NotepadStarter-major.minor.maintenance.revision.zip from NotepadStarter releases
Extract the content into ${Notepad++InstallDir}\plugins, running Notepad++, then it's will prompt a window how two installing the NotepadStarter.
There is two mode:

  • Yes: Install NotepadStarter as notepad.exe Image File Execution
  • No: Install NotepadStarter to replace the system notepad.exe completely(backup the original notepad.exe as notepad.NotepadStarter.exe)

Uninstallation

Running the script ${Notepad++InstallDir}\plugins\NotepadStarter\NotepadStarterUninstall.bat