Open WhoMI7 opened 2 years ago
I managed to get this working following the instructions on http://code.kliu.org/misc/notepad2/ under the sub heading Replacing Windows Notepad with Notepad2 substituting notepad2 for notepads.
You need to create the following registry key: HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\notepad.exe
Inside the key, create a new string value, named "Debugger".
Set the data of this new "Debugger" value to the full path to the Notepads executable, followed by the /z switch. For example, "C:\Program Files\WindowsApps\19282JackieLiu.Notepads-Beta_1.4.6.0_x64__echhpq9pdbte8\Notepads.exe" /z
This seems to work fine for now, until an update rolls out and breaks the path location as submitted here https://github.com/JasonStein/Notepads/issues/1023
Edit: nevermind, its not opening file when right clicking and hitting edit.
I managed to get this working following the instructions on http://code.kliu.org/misc/notepad2/ under the sub heading Replacing Windows Notepad with Notepad2 substituting notepad2 for notepads.
You need to create the following registry key: HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\notepad.exe Inside the key, create a new string value, named "Debugger". Set the data of this new "Debugger" value to the full path to the Notepads executable, followed by the /z switch. For example,
"C:\Program Files\WindowsApps\19282JackieLiu.Notepads-Beta_1.4.6.0_x64__echhpq9pdbte8\Notepads.exe" /z
This seems to work fine for now, until an update rolls out and breaks the path location as submitted here #1023
Edit: nevermind, its not opening file when right clicking and hitting edit.
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\AppX9zj5sh5np6pxbpt2mkb1srft78b2dqjw\Shell\edit\command] @="C:\Program Files\WindowsApps\19282JackieLiu.Notepads-Beta_1.4.7.0_x64__echhpq9pdbte8\Notepads.exe"
And for edit reg files
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\regfile\shell\edit\command] @=hex(2):43,00,3a,00,5c,00,50,00,72,00,6f,00,67,00,72,00,61,00,6d,00,20,00,46, 00,69,00,6c,00,65,00,73,00,5c,00,57,00,69,00,6e,00,64,00,6f,00,77,00,73,00, 41,00,70,00,70,00,73,00,5c,00,31,00,39,00,32,00,38,00,32,00,4a,00,61,00,63, 00,6b,00,69,00,65,00,4c,00,69,00,75,00,2e,00,4e,00,6f,00,74,00,65,00,70,00, 61,00,64,00,73,00,2d,00,42,00,65,00,74,00,61,00,5f,00,31,00,2e,00,34,00,2e, 00,37,00,2e,00,30,00,5f,00,78,00,36,00,34,00,5f,00,5f,00,65,00,63,00,68,00, 68,00,70,00,71,00,39,00,70,00,64,00,62,00,74,00,65,00,38,00,5c,00,4e,00,6f, 00,74,00,65,00,70,00,61,00,64,00,73,00,2e,00,65,00,78,00,65,00,20,00,22,00, 25,00,31,00,22,00,00,00
I managed to get this working following the instructions on http://code.kliu.org/misc/notepad2/ under the sub heading Replacing Windows Notepad with Notepad2 substituting notepad2 for notepads. You need to create the following registry key: HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\notepad.exe Inside the key, create a new string value, named "Debugger". Set the data of this new "Debugger" value to the full path to the Notepads executable, followed by the /z switch. For example,
"C:\Program Files\WindowsApps\19282JackieLiu.Notepads-Beta_1.4.6.0_x64__echhpq9pdbte8\Notepads.exe" /z
This seems to work fine for now, until an update rolls out and breaks the path location as submitted here #1023 Edit: nevermind, its not opening file when right clicking and hitting edit.Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\AppX9zj5sh5np6pxbpt2mkb1srft78b2dqjw\Shell\edit\command] @="C:\Program Files\WindowsApps\19282JackieLiu.Notepads-Beta_1.4.7.0_x64__echhpq9pdbte8\Notepads.exe"
And for edit reg files
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\regfile\shell\edit\command] @=hex(2):43,00,3a,00,5c,00,50,00,72,00,6f,00,67,00,72,00,61,00,6d,00,20,00,46, 00,69,00,6c,00,65,00,73,00,5c,00,57,00,69,00,6e,00,64,00,6f,00,77,00,73,00, 41,00,70,00,70,00,73,00,5c,00,31,00,39,00,32,00,38,00,32,00,4a,00,61,00,63, 00,6b,00,69,00,65,00,4c,00,69,00,75,00,2e,00,4e,00,6f,00,74,00,65,00,70,00, 61,00,64,00,73,00,2d,00,42,00,65,00,74,00,61,00,5f,00,31,00,2e,00,34,00,2e, 00,37,00,2e,00,30,00,5f,00,78,00,36,00,34,00,5f,00,5f,00,65,00,63,00,68,00, 68,00,70,00,71,00,39,00,70,00,64,00,62,00,74,00,65,00,38,00,5c,00,4e,00,6f, 00,74,00,65,00,70,00,61,00,64,00,73,00,2e,00,65,00,78,00,65,00,20,00,22,00, 25,00,31,00,22,00,00,00
That doesn't work for me (on .reg "(...)path doesn't exist", on other files "(...)no associated application(...)"....
Is your feature request related to a problem? Please describe. Editing file extensions like .bat, .reg, .conf, etc aren't possible with Notepads directly, only way of editing them is to right click them and click on "Edit." However, that uses the default Notepad, not the default text editor (I set)—Notepads. One way of changing that "edit" command to Notepads is to change the value from registry
shell\edit\command
and changing the Default value to%C:\Program Files\WindowsApps\19282JackieLiu.Notepads-Beta_1.4.6.0_x64__echhpq9pdbte8\Notepads.exe %1
that does change the Edit command to use Notepads but it shows this.Describe the solution you'd like Maybe release an .exe installer instead of installing it from Windows Store that installs it at
C:/Program Files/WindowsApps
which leads to permission errors.Describe alternatives you've considered Changing the registry values is a viable option but only for different text editors which doesn't show permission errors.