Adding Notepad++ to Right-click New menu


  1. Posts : 6
    10 Pro
       #1

    Adding Notepad++ to Right-click New menu


    I am trying to add Notepad++ to Right-click New menu on Windows 10 to replace the default notepad.
    I want it to function the same as notepad.exe, just to create new .txt files with Notepad++ instead.
    I tried changing to Notepad++ location in ItemName in HKEY_CLASSES_ROOT\.txt\ShellNew, from @%SystemRoot%\system32\notepad.exe,-470 to %programfiles%\Notepad++\notepad++.exe,-470 but it didn't work.
    Any ideas?
      My Computer


  2. Posts : 3,208
    Win10
       #2

    The create "New" text document with Notepad++ still creates a plain old text file - the same as Notepad.
    But, if you just want to see an entry called "New" > "Notepad++ Document" in the context menu, then

    start Notepad++ as Admin, and then go to
    Settings > Preferences > File Association and then select Notepad under 'Supported extensions', pick .txt and press the Right hand arrow to transfer it under 'Registered extensions'.

    This will give you the context menu for New - Notepad++ Document. If you want to reverse the change, simply go through Notepad++ as Admin and move the .txt extension back to Notepad.
      My Computers


  3. Posts : 6
    10 Pro
    Thread Starter
       #3

    das10 said:
    The create "New" text document with Notepad++ still creates a plain old text file - the same as Notepad.
    But, if you just want to see an entry called "New" > "Notepad++ Document" in the context menu, then

    start Notepad++ as Admin, and then go to
    Settings > Preferences > File Association and then select Notepad under 'Supported extensions', pick .txt and press the Right hand arrow to transfer it under 'Registered extensions'.

    This will give you the context menu for New - Notepad++ Document. If you want to reverse the change, simply go through Notepad++ as Admin and move the .txt extension back to Notepad.
    First, thanks a ton for your time and help!
    Unfortunately that did not work. I better mention that I uninstalled notepad.exe (thus I needed to edit the registry to open any .txt file with notepad++ when pressing Right click > Edit
      My Computer


  4. Posts : 4,828
    Windows 11 Pro 64-bit
       #4

    I have Notepad++ it has context menu option for "Edit with Notepad++" it's default context menu entry.

    You can merge attached registry file to add "Edit with Notepad++" to context menu.
    Adding Notepad++ to Right-click New menu Attached Files
      My Computer


  5. Posts : 6
    10 Pro
    Thread Starter
       #5
      My Computer


  6. Posts : 26
    Windows 10
       #6

    How can I add notepad to the "New" context menu instead of notepad++? I am not an advanced user, and do not need notepad++ and admire notepad's simplicity and easy of use. I would like to be able to quickly right click anywhere and open notepad to create various files.
      My Computer


  7. Posts : 48
    Windows 10 Pro x64 22H2 19045.2311
       #7

    dsdsvdfvfde54t said:
    How can I add notepad to the "New" context menu instead of notepad++? I am not an advanced user, and do not need notepad++ and admire notepad's simplicity and easy of use. I would like to be able to quickly right click anywhere and open notepad to create various files.

    Get into your regedit, knowing the risks with editing the registry, yada yada yada.

    Head to "Computer\HKEY_CLASSES_ROOT\Directory\Background\shell"

    Create a new folder key within "shell" and name it "Notepad"

    Create another folder key within "Notepad" and name that "Command"

    Double click on the (Default) REG_SZ string value on the right, change the value data to "C:\Windows\notepad.exe"

    It should look like below

    Adding Notepad++ to Right-click New menu-screen.jpg

    It won't be located specifically within the "new" section of the menu but it will appear under "paste" and "paste shortcut" on the right click context menu itself. I have mine with an added NVidia Inspector.
    Attached Thumbnails Attached Thumbnails Adding Notepad++ to Right-click New menu-screen2.jpg  
    Last edited by EternalEntity; 20 Nov 2022 at 12:42.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 22:05.
Find Us




Windows 10 Forums