Change default document 'edit' tool in Windows 10











up vote
1
down vote

favorite












I tried to change the default text EDITING tool from notepad to notepad++, but for whatever reason it doesn't work.
Note, that I DON'T want to make notepad++ the default program to open these kind of files. Thats a different issue. I want it to open when you rightclick a .txt file and click on 'edit'.



I've written a little .reg file



Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOTSystemFileAssociationsdocumentshelleditcommand]
@=""C:\Program Files (x86)\Notepad++\notepad++.exe" "%1""


The .reg file works alright, the value is changed. However, when rightclicking a .txt file and clicking 'edit', instead of opening the file in notepad++, Windows just opens the file dialog, asking me whether I want to continue opening this type of file with Notepad++ (which is already preselected).



What do I do wrong, how can I resolve this issue?










share|improve this question




























    up vote
    1
    down vote

    favorite












    I tried to change the default text EDITING tool from notepad to notepad++, but for whatever reason it doesn't work.
    Note, that I DON'T want to make notepad++ the default program to open these kind of files. Thats a different issue. I want it to open when you rightclick a .txt file and click on 'edit'.



    I've written a little .reg file



    Windows Registry Editor Version 5.00
    [HKEY_CLASSES_ROOTSystemFileAssociationsdocumentshelleditcommand]
    @=""C:\Program Files (x86)\Notepad++\notepad++.exe" "%1""


    The .reg file works alright, the value is changed. However, when rightclicking a .txt file and clicking 'edit', instead of opening the file in notepad++, Windows just opens the file dialog, asking me whether I want to continue opening this type of file with Notepad++ (which is already preselected).



    What do I do wrong, how can I resolve this issue?










    share|improve this question


























      up vote
      1
      down vote

      favorite









      up vote
      1
      down vote

      favorite











      I tried to change the default text EDITING tool from notepad to notepad++, but for whatever reason it doesn't work.
      Note, that I DON'T want to make notepad++ the default program to open these kind of files. Thats a different issue. I want it to open when you rightclick a .txt file and click on 'edit'.



      I've written a little .reg file



      Windows Registry Editor Version 5.00
      [HKEY_CLASSES_ROOTSystemFileAssociationsdocumentshelleditcommand]
      @=""C:\Program Files (x86)\Notepad++\notepad++.exe" "%1""


      The .reg file works alright, the value is changed. However, when rightclicking a .txt file and clicking 'edit', instead of opening the file in notepad++, Windows just opens the file dialog, asking me whether I want to continue opening this type of file with Notepad++ (which is already preselected).



      What do I do wrong, how can I resolve this issue?










      share|improve this question















      I tried to change the default text EDITING tool from notepad to notepad++, but for whatever reason it doesn't work.
      Note, that I DON'T want to make notepad++ the default program to open these kind of files. Thats a different issue. I want it to open when you rightclick a .txt file and click on 'edit'.



      I've written a little .reg file



      Windows Registry Editor Version 5.00
      [HKEY_CLASSES_ROOTSystemFileAssociationsdocumentshelleditcommand]
      @=""C:\Program Files (x86)\Notepad++\notepad++.exe" "%1""


      The .reg file works alright, the value is changed. However, when rightclicking a .txt file and clicking 'edit', instead of opening the file in notepad++, Windows just opens the file dialog, asking me whether I want to continue opening this type of file with Notepad++ (which is already preselected).



      What do I do wrong, how can I resolve this issue?







      windows-10 notepad++ text-editors






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Oct 9 '16 at 22:22









      Burgi

      3,83792542




      3,83792542










      asked Jul 30 '16 at 15:58









      Simmen

      968




      968






















          2 Answers
          2






          active

          oldest

          votes

















          up vote
          4
          down vote



          accepted










          Solved the issue myself. Turned out you have to change the key in



          [HKEY_CLASSES_ROOTSystemFileAssociationstextshelleditcommand] 





          share|improve this answer




























            up vote
            0
            down vote













            To clarify, mine worked when I changed this Windows registry key:



            ComputerHKEY_CLASSES_ROOTSystemFileAssociationstextshelleditcommand


            From:



            %SystemRoot%system32NOTEPAD.EXE %1


            To:



            %ProgramFiles%WindowsAppsNightRise.NotepadWrapped_7.59.32.0_x64__bahp16nyyek9mNotepad++.exe %1


            Note, my Notepad++ installation was from the Windows Store, and I suspect the last portion of the path might differ on a different Windows 10 machine.



            I found the exact path for Notepad++.exe by going to Windows task manager, right clicking the Notepad++ item, then selecting "Open File Location"



            Hope that helps someone






            share|improve this answer





















              Your Answer








              StackExchange.ready(function() {
              var channelOptions = {
              tags: "".split(" "),
              id: "3"
              };
              initTagRenderer("".split(" "), "".split(" "), channelOptions);

              StackExchange.using("externalEditor", function() {
              // Have to fire editor after snippets, if snippets enabled
              if (StackExchange.settings.snippets.snippetsEnabled) {
              StackExchange.using("snippets", function() {
              createEditor();
              });
              }
              else {
              createEditor();
              }
              });

              function createEditor() {
              StackExchange.prepareEditor({
              heartbeatType: 'answer',
              convertImagesToLinks: true,
              noModals: true,
              showLowRepImageUploadWarning: true,
              reputationToPostImages: 10,
              bindNavPrevention: true,
              postfix: "",
              imageUploader: {
              brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
              contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
              allowUrls: true
              },
              onDemand: true,
              discardSelector: ".discard-answer"
              ,immediatelyShowMarkdownHelp:true
              });


              }
              });














              draft saved

              draft discarded


















              StackExchange.ready(
              function () {
              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1106848%2fchange-default-document-edit-tool-in-windows-10%23new-answer', 'question_page');
              }
              );

              Post as a guest















              Required, but never shown

























              2 Answers
              2






              active

              oldest

              votes








              2 Answers
              2






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes








              up vote
              4
              down vote



              accepted










              Solved the issue myself. Turned out you have to change the key in



              [HKEY_CLASSES_ROOTSystemFileAssociationstextshelleditcommand] 





              share|improve this answer

























                up vote
                4
                down vote



                accepted










                Solved the issue myself. Turned out you have to change the key in



                [HKEY_CLASSES_ROOTSystemFileAssociationstextshelleditcommand] 





                share|improve this answer























                  up vote
                  4
                  down vote



                  accepted







                  up vote
                  4
                  down vote



                  accepted






                  Solved the issue myself. Turned out you have to change the key in



                  [HKEY_CLASSES_ROOTSystemFileAssociationstextshelleditcommand] 





                  share|improve this answer












                  Solved the issue myself. Turned out you have to change the key in



                  [HKEY_CLASSES_ROOTSystemFileAssociationstextshelleditcommand] 






                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Jul 30 '16 at 17:02









                  Simmen

                  968




                  968
























                      up vote
                      0
                      down vote













                      To clarify, mine worked when I changed this Windows registry key:



                      ComputerHKEY_CLASSES_ROOTSystemFileAssociationstextshelleditcommand


                      From:



                      %SystemRoot%system32NOTEPAD.EXE %1


                      To:



                      %ProgramFiles%WindowsAppsNightRise.NotepadWrapped_7.59.32.0_x64__bahp16nyyek9mNotepad++.exe %1


                      Note, my Notepad++ installation was from the Windows Store, and I suspect the last portion of the path might differ on a different Windows 10 machine.



                      I found the exact path for Notepad++.exe by going to Windows task manager, right clicking the Notepad++ item, then selecting "Open File Location"



                      Hope that helps someone






                      share|improve this answer

























                        up vote
                        0
                        down vote













                        To clarify, mine worked when I changed this Windows registry key:



                        ComputerHKEY_CLASSES_ROOTSystemFileAssociationstextshelleditcommand


                        From:



                        %SystemRoot%system32NOTEPAD.EXE %1


                        To:



                        %ProgramFiles%WindowsAppsNightRise.NotepadWrapped_7.59.32.0_x64__bahp16nyyek9mNotepad++.exe %1


                        Note, my Notepad++ installation was from the Windows Store, and I suspect the last portion of the path might differ on a different Windows 10 machine.



                        I found the exact path for Notepad++.exe by going to Windows task manager, right clicking the Notepad++ item, then selecting "Open File Location"



                        Hope that helps someone






                        share|improve this answer























                          up vote
                          0
                          down vote










                          up vote
                          0
                          down vote









                          To clarify, mine worked when I changed this Windows registry key:



                          ComputerHKEY_CLASSES_ROOTSystemFileAssociationstextshelleditcommand


                          From:



                          %SystemRoot%system32NOTEPAD.EXE %1


                          To:



                          %ProgramFiles%WindowsAppsNightRise.NotepadWrapped_7.59.32.0_x64__bahp16nyyek9mNotepad++.exe %1


                          Note, my Notepad++ installation was from the Windows Store, and I suspect the last portion of the path might differ on a different Windows 10 machine.



                          I found the exact path for Notepad++.exe by going to Windows task manager, right clicking the Notepad++ item, then selecting "Open File Location"



                          Hope that helps someone






                          share|improve this answer












                          To clarify, mine worked when I changed this Windows registry key:



                          ComputerHKEY_CLASSES_ROOTSystemFileAssociationstextshelleditcommand


                          From:



                          %SystemRoot%system32NOTEPAD.EXE %1


                          To:



                          %ProgramFiles%WindowsAppsNightRise.NotepadWrapped_7.59.32.0_x64__bahp16nyyek9mNotepad++.exe %1


                          Note, my Notepad++ installation was from the Windows Store, and I suspect the last portion of the path might differ on a different Windows 10 machine.



                          I found the exact path for Notepad++.exe by going to Windows task manager, right clicking the Notepad++ item, then selecting "Open File Location"



                          Hope that helps someone







                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered Nov 21 at 20:32









                          wschloss

                          345




                          345






























                              draft saved

                              draft discarded




















































                              Thanks for contributing an answer to Super User!


                              • Please be sure to answer the question. Provide details and share your research!

                              But avoid



                              • Asking for help, clarification, or responding to other answers.

                              • Making statements based on opinion; back them up with references or personal experience.


                              To learn more, see our tips on writing great answers.





                              Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                              Please pay close attention to the following guidance:


                              • Please be sure to answer the question. Provide details and share your research!

                              But avoid



                              • Asking for help, clarification, or responding to other answers.

                              • Making statements based on opinion; back them up with references or personal experience.


                              To learn more, see our tips on writing great answers.




                              draft saved


                              draft discarded














                              StackExchange.ready(
                              function () {
                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1106848%2fchange-default-document-edit-tool-in-windows-10%23new-answer', 'question_page');
                              }
                              );

                              Post as a guest















                              Required, but never shown





















































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown

































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown







                              Popular posts from this blog

                              AnyDesk - Fatal Program Failure

                              How to calibrate 16:9 built-in touch-screen to a 4:3 resolution?

                              QoS: MAC-Priority for clients behind a repeater