{"id":8313,"date":"2019-03-26T07:27:32","date_gmt":"2019-03-26T01:57:32","guid":{"rendered":"http:\/\/198.58.113.91\/blog\/?p=8313"},"modified":"2023-08-08T19:53:40","modified_gmt":"2023-08-08T14:23:40","slug":"notepad-twice-open-with-menu-dialog-windows","status":"publish","type":"post","link":"https:\/\/www.winhelponline.com\/blog\/notepad-twice-open-with-menu-dialog-windows\/","title":{"rendered":"Notepad Appears Twice in &#8220;Open With&#8221; Menu and Dialog"},"content":{"rendered":"<p>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 &#8220;Choose another app&#8221;, the Open with &#8220;dialog&#8221; that appears, shows Notepad twice.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2019\/03\/notepad-twice-open-with-menu-windows-1.png\" alt=\"notepad appears twice in open with menu\" width=\"619\" height=\"420\" class=\"alignnone size-full wp-image-8315\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2019\/03\/notepad-twice-open-with-menu-windows-2.png\" alt=\"notepad appears twice in open with dialog\" width=\"396\" height=\"507\" class=\"alignnone size-full wp-image-8314\" \/><\/p>\n<p>This post tells you how to resolve the issue.<!--more--><\/p>\n<h3>Cause<\/h3>\n<p>This happens if the association settings for that file type points to the <code>Notepad.exe<\/code> file in the <code>C:\\Windows<\/code> directory instead of the one in the <code>Windows\\System32<\/code> directory. Yes. <code>Notepad.exe<\/code> exists in those two folders by default.<\/p>\n<h3>Resolution<\/h3>\n<p>Fixing the file association settings in the registry removes the duplicate Notepad entry from the Open with dialog and the Open with menu. Follow these steps (assuming that the issue happens for <code>.txt<\/code> file type):<\/p>\n<ol>\n<li>Press <kbd>WinKey<\/kbd> + <kbd>R<\/kbd> to open the Run dialog.<\/li>\n<li>Type <code>regedit.exe<\/code> and click Ok.<\/li>\n<li>In the Registry Editor window, go to the following location:\n<pre>HKEY_CLASSES_ROOT\\txtfile\\shell\\open\\command<\/pre>\n<\/li>\n<li>Double-click the <code>(default)<\/code> value and sets its data as follows:\n<pre>%SystemRoot%\\system32\\NOTEPAD.EXE %1<\/pre>\n<p>(or)<\/p>\n<pre>C:\\Windows\\system32\\NOTEPAD.EXE %1<\/pre>\n<\/li>\n<li>Exit the Registry Editor.<\/li>\n<\/ol>\n<p>The above applies to .txt file type. Repeat the procedure for other file types if they&#8217;re affected by this problem.<\/p>\n<p>That&#8217;s it! Notepad should no longer be listed twice in the &#8220;Open with&#8221; menu and &#8220;Open with&#8221; (&#8220;How do you want to open this file&#8221;) dialog.<\/p>\n<h3>Related articles<\/h3>\n<ul>\n<li><a href=\"https:\/\/www.winhelponline.com\/xp\/openwith.htm\">How to Clear Unwanted Open With entries in Windows<\/a><\/li>\n<li><a href=\"https:\/\/www.winhelponline.com\/xp\/openwithissue.htm\">Open-with list is collapsed; No items listed in the open-with menu<\/a><\/li>\n<li><a href=\"https:\/\/www.winhelponline.com\/blog\/remove-file-association-windows\/\">How to Remove a File Association Using the Registry Editor?<\/a><\/li>\n<li><a href=\"https:\/\/www.winhelponline.com\/xp\/openas.htm\">Clicking the &#8220;Open With&#8221; or &#8220;Choose Program&#8230;&#8221; option always opens the file with Notepad?<\/a><\/li>\n<li><a href=\"https:\/\/www.winhelponline.com\/xp\/openwithsub.htm\">Open With sub-menu which contains the drop-down list of programs, is missing for all the file types?<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>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 &#8220;Choose another app&#8221;, the Open with &#8220;dialog&#8221; that appears, shows Notepad twice. This post tells you how to resolve the issue.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[7],"tags":[729,441],"class_list":["post-8313","post","type-post","status-publish","format-standard","hentry","category-windows","tag-open-with","tag-registry"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":5732,"url":"https:\/\/www.winhelponline.com\/blog\/replace-notepad-text-editor-notepad-plus-association\/","url_meta":{"origin":8313,"position":0},"title":"How to Replace Notepad With Notepad++ or Other Editor","author":"Ramesh","date":"November 2, 2017","format":false,"excerpt":"If you\u2019re looking at how to replace Notepad with Notepad++ or any third-party editor, this post explains how to do it. Notepad++ is a free source code editor and Notepad replacement that supports several languages. Let\u2019s see how you can replace Notepad with Notepad++ without replacing any system files. Notepad\u2026","rel":"","context":"In &quot;Utilities&quot;","block_context":{"text":"Utilities","link":"https:\/\/www.winhelponline.com\/blog\/category\/utilities\/"},"img":{"alt_text":"notepad plus replace debugger notepad.exe","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2017\/11\/debugger-notepad-plus-switch.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2017\/11\/debugger-notepad-plus-switch.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2017\/11\/debugger-notepad-plus-switch.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2017\/11\/debugger-notepad-plus-switch.png?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":26647,"url":"https:\/\/www.winhelponline.com\/blog\/restore-old-classic-notepad-windows\/","url_meta":{"origin":8313,"position":1},"title":"How to Restore Old Classic Notepad in Windows 11","author":"Ramesh","date":"May 7, 2022","format":false,"excerpt":"Windows 11 comes with the modern Notepad app that automatically replaces the old\/classic Notepad program. The new Notepad UWP app supports color emojis, dark mode, RichEdit editing enhancements, Ctrl+} for toggling between matching brackets\/parentheses, multilevel undo, drag & drop, and automatic URL detection. However, many users prefer classic\/win32 apps instead\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":"install notepad using dism in windows 11","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2022\/05\/notepad-install-dism-windows-11.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2022\/05\/notepad-install-dism-windows-11.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2022\/05\/notepad-install-dism-windows-11.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2022\/05\/notepad-install-dism-windows-11.png?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":213,"url":"https:\/\/www.winhelponline.com\/blog\/add-the-open-with-notepad-context-menu-option-for-all-file-types\/","url_meta":{"origin":8313,"position":2},"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":24227,"url":"https:\/\/www.winhelponline.com\/blog\/associate-file-no-extension-program\/","url_meta":{"origin":8313,"position":3},"title":"How to Associate a Program with Files that have No Extension","author":"Ramesh","date":"June 18, 2021","format":false,"excerpt":"Shell extensions for file names with no file extension can be registered under the following: [HKEY_CLASSES_ROOT\\.] For example, to associate a program (for example, Notepad.exe) to open all files with no extension, use the following registry keys: [HKEY_CLASSES_ROOT\\.] @=\"\" [HKEY_CLASSES_ROOT\\.\\shell] [HKEY_CLASSES_ROOT\\.\\shell\\open] [HKEY_CLASSES_ROOT\\.\\shell\\open\\command] @=\"<path to notepad.exe> %1\" Here is an alternative\u2026","rel":"","context":"In &quot;Windows&quot;","block_context":{"text":"Windows","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/"},"img":{"alt_text":"associate extension-less files with a program","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2021\/06\/associate-extension-less-files-2.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":8313,"position":4},"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":8313,"position":5},"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":[]}],"_links":{"self":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/posts\/8313","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=8313"}],"version-history":[{"count":0,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/posts\/8313\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/media?parent=8313"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/categories?post=8313"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/tags?post=8313"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}