• Home
  • Archive
  • Tools
  • Contact Us

The Customize Windows

Technology Journal

  • Cloud Computing
  • Computer
  • Digital Photography
  • Windows 7
  • Archive
  • Cloud Computing
  • Virtualization
  • Computer and Internet
  • Digital Photography
  • Android
  • Sysadmin
  • Electronics
  • Big Data
  • Virtualization
  • Downloads
  • Web Development
  • Apple
  • Android
Advertisement
You are here: Home » Toggle checkbox or normal selection from right click context menu

By Abhishek Ghosh May 11, 2011 8:43 pm Updated on May 11, 2011

Toggle checkbox or normal selection from right click context menu

Advertisement

Previously, we wrote the trick on how to enable the check boxes to select multiple files and folders in Windows 7. This time, we will show you the way to get an option in right click context menu in Windows 7 so that you can toggle between the usual normal multiple selection holding the CTRL key and just clicking the right click menu option to switch between these two options.

Here are two screenshots.

First multiple file selection by using the CTRL key:

Advertisement

---

 

Toggle checkbox or normal selection from right click context menu

 

Secondly multiple file selection by using the checkboxes:

 

Toggle checkbox or normal selection from right click context menu-1

 

And here is the option to toogle in right click context menu:

 

Toggle checkbox or normal selection from right click context menu-2

Now, how to get it.

Two parts : part one is a vbs script and part two is a Registry key.

 

The vbs script to make the checkbox toggle function:

 

Nothing, but to call default Windows action do activate it in the folder where it is. Open Notepad and write the code:

 

FileExt = “HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\AutoCheckSelect”
Set Sh = WScript.CreateObject(“WScript.Shell”)
St = Sh.RegRead(FileExt)
If St = 1 Then
Sh.RegWrite FileExt, 0, “REG_DWORD”
Else
Sh.RegWrite FileExt, 1, “REG_DWORD”
End If
Sh.SendKeys(“{F5}”)

 

We have told many times, again repeating it: save the file as checkbox.vbs and do not forget to change the file type from text to All files from drop down menu in Notepad before saving it.

checkbox.vbs is just a name; we could have name it John_is_a_fool.vbs ; but in that case we have to the rename in next step, otherwise you will be proved to be a fool, not John.

 

Place it in C partition, again you can place it anywhere, but have to mention in Registry file.

 

The Registry file:

 

This will add the functionality to get working from right click context menu.

 

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Directory\Background\shell\Toggle checkbox]
“HasLUAShield”=””

[HKEY_CLASSES_ROOT\Directory\Background\shell\Toggle checkbox\command]
@=”cmd.exe /c start C:\\checkbox.vbs”

[HKEY_CLASSES_ROOT\LibraryFolder\Background\shell\Toggle checkbox]
“HasLUAShield”=””

[HKEY_CLASSES_ROOT\LibraryFolder\Background\shell\Toggle checkbox\command]
@=”cmd.exe /c start C:\\checkbox.vbs“

 

Explanation:

 

No one gives explanation in any Windows forum blog etc after writing tricks or tutorials. Do not ask us why, it is implied.

 

The green texts depend on your wish. As we said ago; we could have name it John_is_a_fool.vbs; then it will be that.

The red text is what you want to see in right click context menu. We could have name it coconut.reg

The pink text is the location of the vbs file; you can change it as well. Frankly, we have not tested in other complicated  ways, we have used conventional location.

The fist set (first four lines) starts the file for the shell and the next set for Library. We have circumvented the restriction of Windows UAC by starting it through elevated command prompt.

 

Save the file as checkbox.reg and do not forget to change the file type from text to All files from drop down menu in Notepad before saving it. Name does not matter here at all. You can save as Rose.reg and it will work.

 

Now, double click the reg file and accept the security warnings and you will see the option in right click context menu when clicked on a folder or any empty place inside folder or Windows 7 desktop.

 

Removal:

 

Add a minus sign before the H starts after the third bracket; like [-HKEY_CLASSES…. to all where there is HKEY and save it (with some good name) as reg file and run it. It will break the association; so the option will disappear from right click context menu.

Obviously, you might delete the vbs file manually too.

 

Downloads:

 

As usually all the required files are here for your download.

The rar file is password protected, type thecustomizewindows.com as the password.

 

Signature Tagged With check box right click selection , toggle controls in context menu , toggle windows file selection

This Article Has Been Shared 639 Times!

Facebook Twitter Pinterest

Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Surgeon, Author and Blogger. You can keep touch with him on Twitter - @AbhishekCTRL.

Here’s what we’ve got for you which might like :

Articles Related to Toggle checkbox or normal selection from right click context menu

  • Cascading list of websites in right click context menu in Windows 7

    After reading this tutorial, you will be able to add a right click custom named menu and cascading list of submenu of websites of your choice with icons of your choice in Windows 7.

  • Show Hide file extension toggle option in Windows 7 context menu

    Add a toggle Show Hide file extension with a custom icon in Windows 7 right click context menu following this trick. Resources needed are available as free download too.

  • Talking clock in right click context menu without any software

    After reading this tutorial, you will get an option in the right click context menu, click which your computer will speak the current time by your clock.

  • Talking Calculator in right click context menu without any software

    Talking Calculator in right click context menu without any software for your Windows 7 or any version of Windows PC.

  • Talking Program Opener with Input Window in Right Click Context Menu

    Talking Program Opener with Input Window in Right Click Context Menu tutorial will show how you can create a interactive talking program opener to open any file with specific program in Windows 7.

Additionally, performing a search on this website can help you. Also, we have YouTube Videos.

Take The Conversation Further ...

We'd love to know your thoughts on this article.
Meet the Author over on Twitter to join the conversation right now!

If you want to Advertise on our Article or want a Sponsored Article, you are invited to Contact us.

Contact Us

Subscribe To Our Free Newsletter

Get new posts by email:

Please Confirm the Subscription When Approval Email Will Arrive in Your Email Inbox as Second Step.

Search this website…

 

Popular Articles

Our Homepage is best place to find popular articles!

Here Are Some Good to Read Articles :

  • Cloud Computing Service Models
  • What is Cloud Computing?
  • Cloud Computing and Social Networks in Mobile Space
  • ARM Processor Architecture
  • What Camera Mode to Choose
  • Indispensable MySQL queries for custom fields in WordPress
  • Windows 7 Speech Recognition Scripting Related Tutorials

Social Networks

  • Pinterest (24.3K Followers)
  • Twitter (5.8k Followers)
  • Facebook (5.7k Followers)
  • LinkedIn (3.7k Followers)
  • YouTube (1.3k Followers)
  • GitHub (Repository)
  • GitHub (Gists)
Looking to publish sponsored article on our website?

Contact us

Recent Posts

  • Cyberpunk Aesthetics: What’s in it Special January 27, 2023
  • How to Do Electrical Layout Plan for Adding Smart Switches January 26, 2023
  • What is a Data Mesh? January 25, 2023
  • What is Vehicular Ad-Hoc Network? January 24, 2023
  • Difference Between Panel Light, COB Light, Track Light January 21, 2023

About This Article

Cite this article as: Abhishek Ghosh, "Toggle checkbox or normal selection from right click context menu," in The Customize Windows, May 11, 2011, January 29, 2023, https://thecustomizewindows.com/2011/05/toggle-checkbox-or-normal-selection-from-right-click-context-menu/.

Source:The Customize Windows, JiMA.in

PC users can consult Corrine Chorney for Security.

Want to know more about us? Read Notability and Mentions & Our Setup.

Copyright © 2023 - The Customize Windows | dESIGNed by The Customize Windows

Copyright  · Privacy Policy  · Advertising Policy  · Terms of Service  · Refund Policy

We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”, you consent to the use of ALL the cookies.
Do not sell my personal information.
Cookie SettingsAccept
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
CookieDurationDescription
cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytics
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Advertisement
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
Others
Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.
SAVE & ACCEPT