{"id":8738,"date":"2019-04-19T13:16:22","date_gmt":"2019-04-19T07:46:22","guid":{"rendered":"http:\/\/198.58.113.91\/blog\/?p=8738"},"modified":"2023-08-02T20:36:39","modified_gmt":"2023-08-02T15:06:39","slug":"open-with-notepad-plus-right-click-menu-windows","status":"publish","type":"post","link":"https:\/\/www.winhelponline.com\/blog\/open-with-notepad-plus-right-click-menu-windows\/","title":{"rendered":"Add &#8220;Open with Notepad++&#8221; to the Right-Click Menu"},"content":{"rendered":"<p>Many users have <a href=\"https:\/\/www.winhelponline.com\/blog\/replace-notepad-text-editor-notepad-plus-association\/\">replaced Notepad with Notepad++<\/a> as the default text editor on their computers. Others use Notepad++ only when needed, and launch it via the <strong>Open with<\/strong> menu and choose Notepad++ from the list of options.<\/p>\n<p>This post tells you how to add the <strong>Open with Notepad++<\/strong> command to the right-click menu for text files in Windows. This tip is especially helpful for those who use the Notepad++ portable copy.<!--more--><\/p>\n<div class=\"rp\"><strong>RELATED:<\/strong> <a href=\"https:\/\/www.winhelponline.com\/blog\/add-the-open-with-notepad-context-menu-option-for-all-file-types\/\">Add &#8220;Open with Notepad&#8221; to the Right-click Menu for all file types<\/a><\/div>\n<h2>Add &#8220;Open with Notepad++&#8221; to the right-click menu<\/h2>\n<ol>\n<li>Download <a href=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2019\/04\/open-with-notepad-plus-menu.zip\">open-with-notepad-plus-menu.zip<\/a> to a folder, and unzip it.<\/li>\n<li>Run the appropriate .reg file (Windows 32-bit vs. 64-bit) by double-clicking on it.<\/li>\n<li>Click <strong>Yes<\/strong> when asked for confirmation.\n<div class=\"newline\">This adds the <strong>Open with Notepad++<\/strong> context menu option for all file types.<\/div>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-8743\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2019\/04\/open-with-notepad-plus-menu.png\" alt=\"Notepad++ right-click menu in Windows\" width=\"539\" height=\"225\" \/><\/li>\n<\/ol>\n<div class=\"qt\">\n<h4>Path to Notepad++.exe<\/h4>\n<p>Note that the .reg file above assumes the following default paths for Notepad++.<\/p>\n<pre><strong>Notepad 32-bit on Windows 32-bit:<\/strong>\r\nC:\\Program Files\\Notepad++\\notepad++.exe\r\n\r\n<strong>Notepad 32-bit on Windows 64-bit:<\/strong>\r\nC:\\Program Files (x86)\\Notepad++\\notepad++.exe\r\n\r\n<strong>Notepad 64-bit on Windows 64-bit:<\/strong>\r\nC:\\Program Files\\Notepad++\\notepad++.exe<\/pre>\n<p>If you have Notepad++ located in another directory, you need to edit the .reg file and update the correct path to notepad++.exe. Alternatively, you can apply the original .reg file and then edit the registry to update the path for notepad++.exe. The registry edit method is provided below.<\/p>\n<\/div>\n<h4>Using the Registry Editor (Option 2)<\/h4>\n<p>To manually add the Notepad++ to the right-click menu using the Registry Editor, follow these steps:<\/p>\n<ol>\n<li>Start the Registry Editor (<code>regedit.exe<\/code>).<\/li>\n<li>Go to the following key:\n<pre>HKEY_CLASSES_ROOT\\*\\shell<\/pre>\n<\/li>\n<li>Create a subkey underneath, and name it as <code>Open with Notepad++<\/code>\n<div class=\"newline\"><em>The key name you type here will show up in the right-click menu. You may also use <strong>Edit with Notepad++<\/strong> if you so prefer.<\/em><\/div>\n<\/li>\n<li>Under <strong>Open with Notepad++<\/strong>, create a subkey named <code>command<\/code><\/li>\n<li>With the <strong>command<\/strong> key selected, double-click the <code>(default)<\/code> value in the right pane.<\/li>\n<li>Type the full path to Notepad++.exe, followed by a <code>%1<\/code> with double-quotes.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-8745\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2019\/04\/open-with-notepad-plus-registry-1.png\" alt=\"Notepad++ right-click menu in Windows\" width=\"701\" height=\"256\" \/><\/p>\n<pre>Examples:\r\n\r\n\"C:\\Program Files\\Notepad++\\notepad++.exe\" \"%1\"\r\n\"D:\\Portables\\Notepad++\\notepad++.exe\" \"%1\"\r\n<\/pre>\n<\/li>\n<li>Optionally, you can <a href=\"https:\/\/www.winhelponline.com\/blog\/add-icon-to-right-click-menu-windows-7\/\">assign an icon for the context menu item<\/a>. To do so, select this parent key:\n<pre>HKEY_CLASSES_ROOT\\*\\shell\\Open with Notepad++<\/pre>\n<\/li>\n<li>In the right pane, create a String value (REG_SZ) named <code>Icon<\/code><\/li>\n<li>Double-click <code>Icon<\/code> and assign a .ico file or point it to a resource that contains a valid icon.<\/li>\n<li>To use Notepad++ &#8216;s official icon, assign this value data:\n<pre>C:\\Program Files\\Notepad++\\notepad++.exe,0\r\nor\r\nC:\\Program Files\\Notepad++\\notepad++.exe,1<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-8744\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2019\/04\/open-with-notepad-plus-registry-2.png\" alt=\"Notepad++ right-click menu in Windows\" width=\"701\" height=\"251\" \/><\/p>\n<p><em>Of course, you&#8217;ll need to type the actual path to <strong>notepad++.exe<\/strong> on your computer.<\/em><\/p>\n<p><em><strong>Tip:<\/strong> You can use any other valid icon index inside you&#8217;d like. To view the list of icons in a .exe file and know the icon index # of your preferred icon, see section <strong>Icons From DLL\/EXE Files<\/strong> in the article <a href=\"https:\/\/www.winhelponline.com\/blog\/change-default-icon-file-type-windows\/\">How to Change the Default Icon for a File Type in Windows?<\/a><\/em><\/li>\n<\/ol>\n<div class=\"qt\">\n<h3>Is Notepad++ missing in Open with dialog?<\/h3>\n<p>After installing the Notepad++ 64-bit version, the program&#8217;s icon may not show up in the &#8220;Open with&#8221; context menu or Open with dialog.<\/p>\n<p>When you right-click on any file and go to Open With \u2192 Choose default program<\/p>\n<p>In the resulting dialog with suggested applications, Notepad++ may not be listed. Even though you browse for Notepad++, locate, and select notepad++.exe, the dialog still may not show Notepad++, and you can&#8217;t open a file with Notepad++.<\/p>\n<p>To resolve the issue, you have two options:<\/p>\n<ul>\n<li>Re-register Notepad++ with Open With dialog using the <a href=\"https:\/\/www.winhelponline.com\/blog\/cant-add-program-to-open-with-menu-list-windows\/\">OpenWithAdd<\/a> utility. <strong>(or)<\/strong><\/li>\n<li>Start the Registry Editor (<code>regedit.exe<\/code>), go to the following key and fix the path to <code>notepad++.exe<\/code> manually:\n<pre>HKEY_CLASSES_ROOT\\Applications\\notepad++.exe\\shell\\open\\command<\/pre>\n<\/li>\n<\/ul>\n<\/div>\n<p>I hope you find the context menu addition useful and a little bit easier to access than using the <a href=\"https:\/\/www.winhelponline.com\/blog\/cant-add-program-to-open-with-menu-list-windows\/\">Open with menu<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Many users have replaced Notepad with Notepad++ as the default text editor on their computers. Others use Notepad++ only when needed, and launch it via the Open with menu and choose Notepad++ from the list of options. This post tells you how to add the Open with Notepad++ command to the right-click menu for text &#8230; <a title=\"Add &#8220;Open with Notepad++&#8221; to the Right-Click Menu\" class=\"read-more\" href=\"https:\/\/www.winhelponline.com\/blog\/open-with-notepad-plus-right-click-menu-windows\/\" aria-label=\"Read more about Add &#8220;Open with Notepad++&#8221; to the Right-Click Menu\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[7],"tags":[339,441],"class_list":["post-8738","post","type-post","status-publish","format-standard","hentry","category-windows","tag-notepad","tag-registry"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":213,"url":"https:\/\/www.winhelponline.com\/blog\/add-the-open-with-notepad-context-menu-option-for-all-file-types\/","url_meta":{"origin":8738,"position":0},"title":"Add &#8220;Open with Notepad&#8221; to the Right-click Menu for all file types","author":"Ramesh","date":"April 24, 2008","format":false,"excerpt":"There are situations where you need to open plain-text files having an unknown or unregistered file extension using Notepad. By default, no file association exists for extension-less files and files with unknown extension in Windows. So, to open those files, you use the Open With option and select Notepad from\u2026","rel":"","context":"In &quot;Windows&quot;","block_context":{"text":"Windows","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/"},"img":{"alt_text":"add open with notepad to right-click","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2008\/04\/open_with_notepad.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2008\/04\/open_with_notepad.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2008\/04\/open_with_notepad.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":906,"url":"https:\/\/www.winhelponline.com\/blog\/add-icon-to-right-click-menu-windows-7\/","url_meta":{"origin":8738,"position":1},"title":"How to Add Icon to a Context Menu Item in Windows","author":"Ramesh","date":"June 22, 2009","format":false,"excerpt":"When working with Windows 7 RC this week, I stumbled upon another nice and useful feature that I thought I should write about. In Windows 7 and higher, you can add icons to your custom right-click (static) menu entries. Usually, to display a right-click command with an icon, one needs\u2026","rel":"","context":"In &quot;Windows&quot;","block_context":{"text":"Windows","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/archived\/w7-icon-static-menu1.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":1954,"url":"https:\/\/www.winhelponline.com\/blog\/associate-autocad-script-scr-notepad-screen-saver\/","url_meta":{"origin":8738,"position":2},"title":"How to Associate AutoCAD Script (.SCR) Files With Notepad?","author":"Ramesh","date":"March 9, 2016","format":false,"excerpt":"AutoCAD Script files and Windows Screen Savers, both use .SCR file extension. If you're trying to change the .SCR file type association to edit your AutoCAD scripts with Notepad or any other editor, you'll note that the Open With... right-click menu option isn't available for .SCR files. That's because they're\u2026","rel":"","context":"In &quot;Windows&quot;","block_context":{"text":"Windows","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/w10\/autocad-scr.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":1071,"url":"https:\/\/www.winhelponline.com\/blog\/run-program-elevated-right-click-menu-windows\/","url_meta":{"origin":8738,"position":3},"title":"How to Add a Right-Click Menu Option to Run a Program Elevated","author":"Ramesh","date":"August 18, 2010","format":false,"excerpt":"From the Windows Taskbar, you can start a program elevated by holding the Ctrl & Shift keys and then clicking on a pinned shortcut. To launch a program elevated from the right-click menu, you can add custom entries and launch it using a script or using the NirCmd utility. Earlier\u2026","rel":"","context":"In &quot;Windows&quot;","block_context":{"text":"Windows","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/"},"img":{"alt_text":"take ownership right-click menu","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2016\/09\/take_ownership_context_menu.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":35642,"url":"https:\/\/www.winhelponline.com\/blog\/new-text-document-missing-windows-11\/","url_meta":{"origin":8738,"position":4},"title":"New &#8220;Text Document&#8221; missing from Right-Click menu in Windows 11","author":"Ramesh","date":"April 3, 2023","format":false,"excerpt":"When you right-click on the desktop and click \"New,\" the New menu may not contain the \"Text Document\" option on your Windows 11 computer. This article tells you how to bring the \"Text Document\" option back. Restore Missing \"Text Document\" to the New menu To add \"Text Document\" to the\u2026","rel":"","context":"In &quot;Windows 11&quot;","block_context":{"text":"Windows 11","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/windows-11\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":8313,"url":"https:\/\/www.winhelponline.com\/blog\/notepad-twice-open-with-menu-dialog-windows\/","url_meta":{"origin":8738,"position":5},"title":"Notepad Appears Twice in &#8220;Open With&#8221; Menu and Dialog","author":"Ramesh","date":"March 26, 2019","format":false,"excerpt":"When you right-click on a text file and click Open with, the Notepad program appears twice in the Open with menu. Also, if you click \"Choose another app\", the Open with \"dialog\" that appears, shows Notepad twice. This post tells you how to resolve the issue. Cause This happens if\u2026","rel":"","context":"In &quot;Windows&quot;","block_context":{"text":"Windows","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/"},"img":{"alt_text":"notepad appears twice in open with menu","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2019\/03\/notepad-twice-open-with-menu-windows-1.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2019\/03\/notepad-twice-open-with-menu-windows-1.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2019\/03\/notepad-twice-open-with-menu-windows-1.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/posts\/8738","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/comments?post=8738"}],"version-history":[{"count":0,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/posts\/8738\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/media?parent=8738"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/categories?post=8738"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/tags?post=8738"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}