Auto-Repair Tool

Simple Way To Change Context Menu Of Folders And Execute Batch Script On A Folder

Accessing New Context Menu Items We have some great tutorials how to customize the context menu. Here’s a simple way how to change the context menu of folders and how you would execute a batch script on it.

1. Step Open the registry editor – if you are having problems opening the Windows registry editor using Run, then I suggest that you read this guide how to open the registry editor without Run

2. Step Uncollapse HKEY_CLASSES_ROOT and select it so it turns blue

Select Hkey Classes Root

3. Step Hit F on your keyboard to jump to all keys starting with F and then look for Folders and uncollapse it:

Editing The Context Menu Of Folders

4. Step Right-click on shell and then click New -> Key

5. Step Enter a name and then do the same again on the folder (key) that we just created to create a sub-key. This time the name can’t be random, give it the name command:

Adding Items To Folder Context Menu

6. Step Now in the right pane, double-click on Default and enter the path to a batch script or a program that you want to execute

Editing String Path To Batch Script

7. Step If you want you can pass arguments to a batch script using the variable %1 e.g. – (I explained this in more detail here: Pass on arguments to batch script via context menu)

8. Step Ok, we’re now set and can test our new batch script

Accessing New Context Menu Items

Yay, it works. You could use this rename loads of Borderlands 2 screenshots or whatever you want to do with it, it may come in handy some time so please bookmark it (*hint*)

I hope this will help you to add new items to context menu of folders. If you have any questions, feel free to ask or post a question on our new community site

Alternative Solutions: Auto-Repair Your PC And Drivers

Still Having Trouble? Try TWEAKBIT FIXMYPC - FREE

Published: Friday, April 13th, 2012 Last Modified: April 13, 2012

Related Posts

Rate This Article
5 of 5 0 (100%) 1 vote