Easily replace Notepad with Atom. Administrator privileges are required for a one-time setup.
After installing, use the menu: Packages » Replace Notepad » Replace Notepad.
Note that you have to restore notepad before you uninstall this package!
If there are multiple users using the machine, please be aware of the following caveats:
replace-notepad
stub can't find Atom, it will offer to disable the redirect.If you want to compile replace-notepad.exe
yourself, download Cygwin and install the mingw64-i686-gcc-core
package. Then open the Cygwin terminal, go to the bin
directory, and run ./build.bat
.
Read these websites for more information:
If you forgot to restore Notepad and uninstalled Atom, you can easily restore it by running this command. In Windows 10, open an elevated command prompt by right-clicking on the start menu and then clicking Command Prompt (Admin).
cmd /C reg delete "HKLM\Software\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\notepad.exe" /f
Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.