How to add in Windows 10 a document without extension to the pinned list of an app?












0















I like to add "C:WindowsSystem32driversetchosts" to the pinned documents of my text-editor (PSPad) on the taskbar.



Usually I only need to open a document and after that it shows ab in the recent documents list of this app in the taskbar. But the hosts file does not show up. I think because it has no extension?!



As you can see I have the document linux_cmd.txt added to this list:
enter image description here



I tried to search for this filename in regedit but could not find any entries. Where does Windows 10 save this list or is there an other way to add the hosts file to it?










share|improve this question

























  • "Where does Windows 10 save this list " - Registry.

    – Ramhound
    Feb 21 '17 at 20:33






  • 2





    Possible duplicate of Force Windows 7 to pin a file with no extension to the Jump List for Notepad

    – Ƭᴇcʜιᴇ007
    Feb 21 '17 at 21:30











  • @Ramhound As I wrote. I searched in the registry, but was not able to find these entries.

    – mgutt
    Feb 21 '17 at 23:05
















0















I like to add "C:WindowsSystem32driversetchosts" to the pinned documents of my text-editor (PSPad) on the taskbar.



Usually I only need to open a document and after that it shows ab in the recent documents list of this app in the taskbar. But the hosts file does not show up. I think because it has no extension?!



As you can see I have the document linux_cmd.txt added to this list:
enter image description here



I tried to search for this filename in regedit but could not find any entries. Where does Windows 10 save this list or is there an other way to add the hosts file to it?










share|improve this question

























  • "Where does Windows 10 save this list " - Registry.

    – Ramhound
    Feb 21 '17 at 20:33






  • 2





    Possible duplicate of Force Windows 7 to pin a file with no extension to the Jump List for Notepad

    – Ƭᴇcʜιᴇ007
    Feb 21 '17 at 21:30











  • @Ramhound As I wrote. I searched in the registry, but was not able to find these entries.

    – mgutt
    Feb 21 '17 at 23:05














0












0








0








I like to add "C:WindowsSystem32driversetchosts" to the pinned documents of my text-editor (PSPad) on the taskbar.



Usually I only need to open a document and after that it shows ab in the recent documents list of this app in the taskbar. But the hosts file does not show up. I think because it has no extension?!



As you can see I have the document linux_cmd.txt added to this list:
enter image description here



I tried to search for this filename in regedit but could not find any entries. Where does Windows 10 save this list or is there an other way to add the hosts file to it?










share|improve this question
















I like to add "C:WindowsSystem32driversetchosts" to the pinned documents of my text-editor (PSPad) on the taskbar.



Usually I only need to open a document and after that it shows ab in the recent documents list of this app in the taskbar. But the hosts file does not show up. I think because it has no extension?!



As you can see I have the document linux_cmd.txt added to this list:
enter image description here



I tried to search for this filename in regedit but could not find any entries. Where does Windows 10 save this list or is there an other way to add the hosts file to it?







windows-10 taskbar pinning






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Feb 21 '17 at 23:06







mgutt

















asked Feb 21 '17 at 20:08









mguttmgutt

321317




321317













  • "Where does Windows 10 save this list " - Registry.

    – Ramhound
    Feb 21 '17 at 20:33






  • 2





    Possible duplicate of Force Windows 7 to pin a file with no extension to the Jump List for Notepad

    – Ƭᴇcʜιᴇ007
    Feb 21 '17 at 21:30











  • @Ramhound As I wrote. I searched in the registry, but was not able to find these entries.

    – mgutt
    Feb 21 '17 at 23:05



















  • "Where does Windows 10 save this list " - Registry.

    – Ramhound
    Feb 21 '17 at 20:33






  • 2





    Possible duplicate of Force Windows 7 to pin a file with no extension to the Jump List for Notepad

    – Ƭᴇcʜιᴇ007
    Feb 21 '17 at 21:30











  • @Ramhound As I wrote. I searched in the registry, but was not able to find these entries.

    – mgutt
    Feb 21 '17 at 23:05

















"Where does Windows 10 save this list " - Registry.

– Ramhound
Feb 21 '17 at 20:33





"Where does Windows 10 save this list " - Registry.

– Ramhound
Feb 21 '17 at 20:33




2




2





Possible duplicate of Force Windows 7 to pin a file with no extension to the Jump List for Notepad

– Ƭᴇcʜιᴇ007
Feb 21 '17 at 21:30





Possible duplicate of Force Windows 7 to pin a file with no extension to the Jump List for Notepad

– Ƭᴇcʜιᴇ007
Feb 21 '17 at 21:30













@Ramhound As I wrote. I searched in the registry, but was not able to find these entries.

– mgutt
Feb 21 '17 at 23:05





@Ramhound As I wrote. I searched in the registry, but was not able to find these entries.

– mgutt
Feb 21 '17 at 23:05










2 Answers
2






active

oldest

votes


















2














I solved it as follows:




  • Opened regedit

  • searched for pspad to find extensions that are default for this text editor

  • found .sh with the default value sh_auto_file

  • added a new key to Computer -> HKEY_CLASSES_ROOT with the name .

  • added the string value sh_auto_file

  • signed out/in Windows 10 user to load registry changes

  • opened "C:WindowsSystem32driversetchosts"

  • and now its part of the recent documents list and can be pinned:


enter image description here






share|improve this answer































    1














    My solution is based on @mgutt's, with a few tweaks:





    1. Create a new registration file with a text editor and save as pin_noext.reg:



      Windows Registry Editor Version 5.00

      ; Add new key for files without extension
      [HKEY_CLASSES_ROOT.]
      @="noext_auto_file"

      ; Retain file type name
      [HKEY_CLASSES_ROOTnoext_auto_file]
      @="File"

      ; Retain blank document icon
      [HKEY_CLASSES_ROOTnoext_auto_fileDefaultIcon]
      @="%SystemRoot%\System32\imageres.dll,2"

      ; Associate no-extension files with text editor (Notepad++)
      [HKEY_CLASSES_ROOTnoext_auto_fileshell]
      [HKEY_CLASSES_ROOTnoext_auto_fileshellopen]
      [HKEY_CLASSES_ROOTnoext_auto_fileshellopencommand]
      @=""C:\Program Files (x86)\Notepad++\notepad++.exe" "%1""


    2. Import pin_noext.reg into the registry.


    3. Reboot (or terminate-restart C:WindowsExplorer.EXE)

    4. Open no-extension file (e.g., C:WindowsSystem32driversetcHOSTS) with chosen text editor (Notepad++ in my case). The file will now appear in the text editor's jump list.

    5. Pin it! ( Win7 ) ( Win10 )






    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',
      autoActivateHeartbeat: false,
      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%2f1181333%2fhow-to-add-in-windows-10-a-document-without-extension-to-the-pinned-list-of-an-a%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









      2














      I solved it as follows:




      • Opened regedit

      • searched for pspad to find extensions that are default for this text editor

      • found .sh with the default value sh_auto_file

      • added a new key to Computer -> HKEY_CLASSES_ROOT with the name .

      • added the string value sh_auto_file

      • signed out/in Windows 10 user to load registry changes

      • opened "C:WindowsSystem32driversetchosts"

      • and now its part of the recent documents list and can be pinned:


      enter image description here






      share|improve this answer




























        2














        I solved it as follows:




        • Opened regedit

        • searched for pspad to find extensions that are default for this text editor

        • found .sh with the default value sh_auto_file

        • added a new key to Computer -> HKEY_CLASSES_ROOT with the name .

        • added the string value sh_auto_file

        • signed out/in Windows 10 user to load registry changes

        • opened "C:WindowsSystem32driversetchosts"

        • and now its part of the recent documents list and can be pinned:


        enter image description here






        share|improve this answer


























          2












          2








          2







          I solved it as follows:




          • Opened regedit

          • searched for pspad to find extensions that are default for this text editor

          • found .sh with the default value sh_auto_file

          • added a new key to Computer -> HKEY_CLASSES_ROOT with the name .

          • added the string value sh_auto_file

          • signed out/in Windows 10 user to load registry changes

          • opened "C:WindowsSystem32driversetchosts"

          • and now its part of the recent documents list and can be pinned:


          enter image description here






          share|improve this answer













          I solved it as follows:




          • Opened regedit

          • searched for pspad to find extensions that are default for this text editor

          • found .sh with the default value sh_auto_file

          • added a new key to Computer -> HKEY_CLASSES_ROOT with the name .

          • added the string value sh_auto_file

          • signed out/in Windows 10 user to load registry changes

          • opened "C:WindowsSystem32driversetchosts"

          • and now its part of the recent documents list and can be pinned:


          enter image description here







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Feb 21 '17 at 23:02









          mguttmgutt

          321317




          321317

























              1














              My solution is based on @mgutt's, with a few tweaks:





              1. Create a new registration file with a text editor and save as pin_noext.reg:



                Windows Registry Editor Version 5.00

                ; Add new key for files without extension
                [HKEY_CLASSES_ROOT.]
                @="noext_auto_file"

                ; Retain file type name
                [HKEY_CLASSES_ROOTnoext_auto_file]
                @="File"

                ; Retain blank document icon
                [HKEY_CLASSES_ROOTnoext_auto_fileDefaultIcon]
                @="%SystemRoot%\System32\imageres.dll,2"

                ; Associate no-extension files with text editor (Notepad++)
                [HKEY_CLASSES_ROOTnoext_auto_fileshell]
                [HKEY_CLASSES_ROOTnoext_auto_fileshellopen]
                [HKEY_CLASSES_ROOTnoext_auto_fileshellopencommand]
                @=""C:\Program Files (x86)\Notepad++\notepad++.exe" "%1""


              2. Import pin_noext.reg into the registry.


              3. Reboot (or terminate-restart C:WindowsExplorer.EXE)

              4. Open no-extension file (e.g., C:WindowsSystem32driversetcHOSTS) with chosen text editor (Notepad++ in my case). The file will now appear in the text editor's jump list.

              5. Pin it! ( Win7 ) ( Win10 )






              share|improve this answer




























                1














                My solution is based on @mgutt's, with a few tweaks:





                1. Create a new registration file with a text editor and save as pin_noext.reg:



                  Windows Registry Editor Version 5.00

                  ; Add new key for files without extension
                  [HKEY_CLASSES_ROOT.]
                  @="noext_auto_file"

                  ; Retain file type name
                  [HKEY_CLASSES_ROOTnoext_auto_file]
                  @="File"

                  ; Retain blank document icon
                  [HKEY_CLASSES_ROOTnoext_auto_fileDefaultIcon]
                  @="%SystemRoot%\System32\imageres.dll,2"

                  ; Associate no-extension files with text editor (Notepad++)
                  [HKEY_CLASSES_ROOTnoext_auto_fileshell]
                  [HKEY_CLASSES_ROOTnoext_auto_fileshellopen]
                  [HKEY_CLASSES_ROOTnoext_auto_fileshellopencommand]
                  @=""C:\Program Files (x86)\Notepad++\notepad++.exe" "%1""


                2. Import pin_noext.reg into the registry.


                3. Reboot (or terminate-restart C:WindowsExplorer.EXE)

                4. Open no-extension file (e.g., C:WindowsSystem32driversetcHOSTS) with chosen text editor (Notepad++ in my case). The file will now appear in the text editor's jump list.

                5. Pin it! ( Win7 ) ( Win10 )






                share|improve this answer


























                  1












                  1








                  1







                  My solution is based on @mgutt's, with a few tweaks:





                  1. Create a new registration file with a text editor and save as pin_noext.reg:



                    Windows Registry Editor Version 5.00

                    ; Add new key for files without extension
                    [HKEY_CLASSES_ROOT.]
                    @="noext_auto_file"

                    ; Retain file type name
                    [HKEY_CLASSES_ROOTnoext_auto_file]
                    @="File"

                    ; Retain blank document icon
                    [HKEY_CLASSES_ROOTnoext_auto_fileDefaultIcon]
                    @="%SystemRoot%\System32\imageres.dll,2"

                    ; Associate no-extension files with text editor (Notepad++)
                    [HKEY_CLASSES_ROOTnoext_auto_fileshell]
                    [HKEY_CLASSES_ROOTnoext_auto_fileshellopen]
                    [HKEY_CLASSES_ROOTnoext_auto_fileshellopencommand]
                    @=""C:\Program Files (x86)\Notepad++\notepad++.exe" "%1""


                  2. Import pin_noext.reg into the registry.


                  3. Reboot (or terminate-restart C:WindowsExplorer.EXE)

                  4. Open no-extension file (e.g., C:WindowsSystem32driversetcHOSTS) with chosen text editor (Notepad++ in my case). The file will now appear in the text editor's jump list.

                  5. Pin it! ( Win7 ) ( Win10 )






                  share|improve this answer













                  My solution is based on @mgutt's, with a few tweaks:





                  1. Create a new registration file with a text editor and save as pin_noext.reg:



                    Windows Registry Editor Version 5.00

                    ; Add new key for files without extension
                    [HKEY_CLASSES_ROOT.]
                    @="noext_auto_file"

                    ; Retain file type name
                    [HKEY_CLASSES_ROOTnoext_auto_file]
                    @="File"

                    ; Retain blank document icon
                    [HKEY_CLASSES_ROOTnoext_auto_fileDefaultIcon]
                    @="%SystemRoot%\System32\imageres.dll,2"

                    ; Associate no-extension files with text editor (Notepad++)
                    [HKEY_CLASSES_ROOTnoext_auto_fileshell]
                    [HKEY_CLASSES_ROOTnoext_auto_fileshellopen]
                    [HKEY_CLASSES_ROOTnoext_auto_fileshellopencommand]
                    @=""C:\Program Files (x86)\Notepad++\notepad++.exe" "%1""


                  2. Import pin_noext.reg into the registry.


                  3. Reboot (or terminate-restart C:WindowsExplorer.EXE)

                  4. Open no-extension file (e.g., C:WindowsSystem32driversetcHOSTS) with chosen text editor (Notepad++ in my case). The file will now appear in the text editor's jump list.

                  5. Pin it! ( Win7 ) ( Win10 )







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Feb 24 at 15:19









                  andronoidandronoid

                  111




                  111






























                      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.




                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function () {
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1181333%2fhow-to-add-in-windows-10-a-document-without-extension-to-the-pinned-list-of-an-a%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

                      Probability when a professor distributes a quiz and homework assignment to a class of n students.

                      Aardman Animations

                      Are they similar matrix