To select all files in a folder or in the Desktop, you use the CTRL + A keyboard shortcut. If you’re an avid mouse user, and need the select all functionality in the right click menu in Windows Vista, use this tweak. Note that this tweak does not work in Windows XP.
Adding Select All option to the context menu
1. Download selectall.zip and save it to the Desktop.
2. Unzip the archive and extract the contents to a folder.
3. Move the file selectall.vbs to the C:\Windows directory.
4. Double-click selectall.reg to add the Select All context menu option.
The Select All option is added to the right-click menu. This menu option will be seen when you right-click on the Desktop and when right-clicking on an empty area in a folder.
To remove the Select All option from the right-click menu, run the file undo.reg. Then delete the file selectall.vbs manually from the Windows directory.
The selectall.vbs powers the Select All option in the context menu. The script uses Windows Scripting Host (WSH) SendKeys method to send the keystroke CTRL + A for selecting all items in a folder. Here are the contents of the file selectall.vbs.
set oShell = WScript.CreateObject("WScript.Shell")
About the author
Ramesh Srinivasan founded Winhelponline.com back in 2005. He is passionate about Microsoft technologies and has a vast experience in the ITeS industry — delivering support for Microsoft's consumer products. He has been a Microsoft MVP [2003 to 2012] who contributes to various Windows support forums.