Hello guys. Today we’re going to be adding options to the right click menu. So open up Start and Run and type ‘regedit’, that’s R-E-G-E-D-I-T.
Now, the first thing you want to do is expand Computer and go to ‘HKEY_CLASSES_ROOT’. Now, in here, you want to find the extension of whatever you want the context menu to be on.
In this case, let’s say we only want the context menu or a new one, whatever we’re going to put on. We only want it to appear on text files. Well then we would scroll down to ‘.txt’ and it’s going to be down there. Somewhere down here. But anyway, in this case we’re going to do it for all files in that case you want to find the asterisks. It’s the very top one that means everything.
So, open up the directory extension. In this case the asterisks for whatever you wan to add the new menu to. Now, you want to want to open the folder shell, just regular shell. If you don’t have one, right click, New, Key and name it shell. Then expand that and inside shell you want to create a new key with the name of whatever you want it to be.
So let’s say, click the new key ‘say hello’. I don’t really know why you do that but just an example. Now, on that key, create another key and name it command. Now here on Command, you want to run something so double click Default and what you do is type in whatever you wan to run.
So let’s have it open Notepad with the file or whatever. So let’s see. That will be “C:\WINDOWS\system32\note pad.exe”. And then after that, we’re going to open up another quote and put “%1”. Now, what that’s going to do is take the extension of the file or take the file itself that you’re right clicking and add it to the end which is going to open notepad. It’s going to open the file that you’re right clicking with Notepad is basically what this does.
So you just want to type the program here in quotes and then if you just want to open that program, period in there. But if you wan to open something with that program, put another space and quotes around percent one. Just run example. Let’s click ‘OK’. I’m going to change “Say Hello” to something else so I can open with notepad.
All right, now if you right click the file, open with Note pad. See it right there? So, let‘s create a text file. We’re going to type in all of that. Okay. Save it. Now here it is. Right click, open with Notepad and there it is. It opened that file with Notepad. So that’s basically how you add options to the right click menu.
Now, for something like directories, like this photo right here, if you right click that you won’t see that option on there that’s because the directory is not considered the file so it’s not in with the asterisks. If you want to add it to the directory as well, scroll down past all. Okay and down here now, here is the directory.
So you would open Directory, create the shell or click it if it’s there already and then repeat the steps we just did above and then it would add it to the right click menu on Directories.
So that’s basically it. There are different things you can do with the context menu. You don’t have to just open a program. So go Google and search up a list of stuff to do with them and thanks for watching the video.
Transcription by:
Scribe4you Transcription Services