{"id":341,"date":"2008-06-21T11:39:59","date_gmt":"2008-06-21T06:09:59","guid":{"rendered":"http:\/\/198.58.113.91\/blog\/?p=341"},"modified":"2021-05-24T19:24:50","modified_gmt":"2021-05-24T13:54:50","slug":"add-select-all-option-to-the-context-menu-in-windows-vista","status":"publish","type":"post","link":"https:\/\/www.winhelponline.com\/blog\/add-select-all-option-to-the-context-menu-in-windows-vista\/","title":{"rendered":"Add Select All option to the context menu in Windows"},"content":{"rendered":"<p>To select all files in a folder or the Desktop, you use the <b>CTRL + A<\/b> keyboard shortcut. If you&#8217;re an avid mouse user and need the select all functionality in the right-click menu in Windows, here is a registry tweak. This tweak adds the &#8220;Select All&#8221; option in the context menu for folder background and desktop. <!--more--><\/p>\n<h2>Adding Select All option to the context menu<\/h2>\n<h3>For Windows 10 only<\/h3>\n<ol>\n<li>Copy the following contents to Notepad.\n<pre>Windows Registry Editor Version 5.00  \r\n\r\n[HKEY_CLASSES_ROOT\\Directory\\Background\\shell\\Windows.selectall] \r\n\"CanonicalName\"=\"{b33bf5af-76d5-4d10-93e7-d8e22e93798f}\" \r\n\"CommandStateHandler\"=\"{3756e7f5-e514-4776-a32b-eb24bc1efe7a}\" \r\n\"CommandStateSync\"=\"\" \r\n\"Description\"=\"@shell32.dll,-31277\" \r\n\"Icon\"=\"imageres.dll,-5308\" \r\n\"ImpliedSelectionModel\"=dword:00000020 \r\n\"MUIVerb\"=\"@shell32.dll,-31276\" \r\n\"Position\"=\"Bottom\" \r\n\"NeverDefault\"=\"\" \r\n \r\n[HKEY_CLASSES_ROOT\\Directory\\Background\\shell\\Windows.selectall\\command] \r\n\"DelegateExecute\"=\"{aa28fbc7-59f1-4c42-9fd8-ba2be27ea319}\" \r\n\r\n<\/pre>\n<\/li>\n<li>Save the file with a .reg extension, say selectall.reg<\/li>\n<li>Double-click selectall.reg to apply the contents to the registry.<\/li>\n<\/ol>\n<p>You&#8217;ll see the Select All option in the right-click menu in the desktop and folder background.<\/p>\n<div class=\"rp\"><strong>RELATED:<\/strong> <a href=\"https:\/\/www.winhelponline.com\/blog\/ribbon-command-right-click-menu-windows-10\/\">How to Add Ribbon Command to Right-click Menu in Windows 10<\/a><\/div>\n<p>To remove the option, make another file named undo.reg with the following contents and run it.<\/p>\n<pre>Windows Registry Editor Version 5.00  \r\n\r\n[-HKEY_CLASSES_ROOT\\Directory\\Background\\shell\\Windows.selectall] \r\n<\/pre>\n<h3>For Windows 8 &amp; earlier<\/h3>\n<ol>\n<li>Download <a href=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/selectall.zip\">selectall.zip<\/a> and save it to the Desktop.<\/li>\n<li>Unzip the archive and extract the contents to a folder.<\/li>\n<li>Move <b>selectall.vbs<\/b> to the <b>C:\\Windows<\/b> directory.<\/li>\n<li>Double-click <b>selectall.reg <\/b>to add the <b>Select All<\/b> context menu option.<\/li>\n<li>The <b>Select All<\/b> option is added to the right-click menu. This menu option will be seen when you right-click on the Desktop and right-clicking on an empty area in a folder.<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/selectall.png\" width=\"256\" height=\"309\" \/><\/li>\n<\/ol>\n<p><b>How to Undo:\u00a0 <\/b>To remove the <b>Select All<\/b> option from the right-click menu, run the file <code>undo.reg<\/code>. Then delete the file <code>selectall.vbs<\/code> manually from the Windows directory.<\/p>\n<h4>More Information<\/h4>\n<p>The <b>selectall.vbs<\/b> file powers the <b>Select All<\/b> option in the context menu. It uses the Windows Scripting Host (WSH) <a href=\"http:\/\/www.microsoft.com\/technet\/scriptcenter\/guide\/sas_wsh_hilv.mspx\" target=\"_blank\" rel=\"noopener noreferrer\">SendKeys<\/a> method to send the keystroke <b><code>CTRL<\/code> + <code>A<\/code><\/b> for selecting all items in a folder. Here are the contents of the file selectall.vbs.<\/p>\n<pre>set oShell = WScript.CreateObject(\"WScript.Shell\")\r\noShell.SendKeys \"^a\"<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>To select all files in a folder or the Desktop, you use the CTRL + A keyboard shortcut. If you&#8217;re an avid mouse user and need the select all functionality in the right-click menu in Windows, here is a registry tweak. This tweak adds the &#8220;Select All&#8221; option in the context menu for folder background &#8230; <a title=\"Add Select All option to the context menu in Windows\" class=\"read-more\" href=\"https:\/\/www.winhelponline.com\/blog\/add-select-all-option-to-the-context-menu-in-windows-vista\/\" aria-label=\"Read more about Add Select All option to the context menu in Windows\">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_memberships_contains_paid_content":false,"footnotes":""},"categories":[7],"tags":[114,441],"class_list":["post-341","post","type-post","status-publish","format-standard","hentry","category-windows","tag-context-menu","tag-registry"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":24381,"url":"https:\/\/www.winhelponline.com\/blog\/add-open-command-window-here-menu-windows-11\/","url_meta":{"origin":341,"position":0},"title":"How to Add &#8220;Open command window here&#8221; in Windows 11","author":"Ramesh","date":"October 10, 2021","format":false,"excerpt":"In Windows 11, the context menu \"Open Command window here\" doesn't exist by default. Instead, you'll see the \"Open in Windows Terminal\" and \"Open PowerShell window here\" (when you press Shift + right-click) options in the folder context menu. This article tells you how to add \"Open Command window here\"\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":"windows terminal option in win+x start context menu","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2021\/10\/win-x-terminal-powershell-comd.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":5044,"url":"https:\/\/www.winhelponline.com\/blog\/hide-selected-files-hidden-attribute-right-click-menu\/","url_meta":{"origin":341,"position":1},"title":"Show or Hide Selected Files from the Right-click menu","author":"Ramesh","date":"December 31, 2016","format":false,"excerpt":"In File Explorer, you can hide or show selected files using the \"Hide selected files\" toggle button in the Ribbon interface. This command can be added to the context menu using the method described in article Add any Ribbon Command to the Right-click Menu in Windows 10. Show or Hide\u2026","rel":"","context":"In &quot;Windows 10&quot;","block_context":{"text":"Windows 10","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/windows-10\/"},"img":{"alt_text":"show or hide Selected Files context menu","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2016\/12\/hide-selected-files.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2016\/12\/hide-selected-files.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2016\/12\/hide-selected-files.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":4813,"url":"https:\/\/www.winhelponline.com\/blog\/cmd-here-windows-10-context-menu-add\/","url_meta":{"origin":341,"position":2},"title":"Add &#8220;Open command window here&#8221; to Context Menu in Windows 10","author":"Ramesh","date":"December 13, 2016","format":false,"excerpt":"In the recent versions of Windows 10 (Creators Update and higher), the \"Open Command Prompt here\" context menu entry has been removed and is replaced by \"Open PowerShell window here\". Microsoft, in an effort to bring the best command line experiences to the forefront for all power users, has made\u2026","rel":"","context":"In &quot;Windows 10&quot;","block_context":{"text":"Windows 10","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/windows-10\/"},"img":{"alt_text":"cmdhere context menu icon","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2016\/12\/cmdhere-context-menu.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":28019,"url":"https:\/\/www.winhelponline.com\/blog\/view-images-slideshow-explorer-windows-11\/","url_meta":{"origin":341,"position":3},"title":"How to View Image Slideshow from Folder in Windows 11","author":"Ramesh","date":"September 4, 2022","format":false,"excerpt":"With the classic ribbon interface removed in Windows 11, the \"Picture Tools\" tab and the \"Slideshow\" button have also been removed. You may be wondering how to start a slideshow from a folder in Windows 11. View Images as a Slideshow in Windows 11 There are two options to view\u2026","rel":"","context":"In &quot;Windows 10&quot;","block_context":{"text":"Windows 10","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/windows-10\/"},"img":{"alt_text":"slideshow ribbon command in windows 11","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2022\/09\/slideshow-ribbon-command-w11.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2022\/09\/slideshow-ribbon-command-w11.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2022\/09\/slideshow-ribbon-command-w11.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":213,"url":"https:\/\/www.winhelponline.com\/blog\/add-the-open-with-notepad-context-menu-option-for-all-file-types\/","url_meta":{"origin":341,"position":4},"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":1261,"url":"https:\/\/www.winhelponline.com\/blog\/find-current-wallpaper-file-path-windows-10\/","url_meta":{"origin":341,"position":5},"title":"How to Find the Current Wallpaper File Name and Path in Windows 10\/11","author":"Ramesh","date":"October 25, 2013","format":false,"excerpt":"If you're using the Desktop background slideshow or third-party wallpaper changer software and want to find the file name of the currently displayed desktop wallpaper, then this article is for you. The current wallpaper path is are stored in the registry but is not displayed in the modern Personalize settings\u2026","rel":"","context":"In &quot;Windows 10&quot;","block_context":{"text":"Windows 10","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/windows-10\/"},"img":{"alt_text":"background wallpaper history personalize window","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2013\/10\/w10-registry-wallpaper-history-thumbnails.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2013\/10\/w10-registry-wallpaper-history-thumbnails.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2013\/10\/w10-registry-wallpaper-history-thumbnails.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/posts\/341","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=341"}],"version-history":[{"count":0,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/posts\/341\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/media?parent=341"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/categories?post=341"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/tags?post=341"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}