Brother Gabriel-Marie Posted December 7, 2008 Share Posted December 7, 2008 Howdy all! I have visited Neowin from time to time and finally registered, so this is my first post here. I wrote a little app to give me improved options for renaming a file and its extension. It works like a charm, and I also added it to the context menu of all files and folders under the * heading in the registry. Now, how do I remove the old "rename" from the context menu? I want to do this through the registry and not through some other application, but I can't find the registry entry. Can anybody enlighten me? Thank you. -Brother Gabriel-Marie Link to comment https://www.neowin.net/forum/topic/707318-how-to-remove-rename-from-context-menu/ Share on other sites More sharing options...
dis Posted December 7, 2008 Share Posted December 7, 2008 that is not in the registry. that is in the shell32.dll > menu 210 (if i am correct) you need to reshack it and remove that line. 210 MENUEX LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US { POPUP "" { MENUITEM "Cut", 24 MENUITEM "Copy", 25 MENUITEM "Paste", 26 MENUITEM "", 65535, MFT_SEPARATOR MENUITEM "Create Shortcut", 16 MENUITEM "Delete", 17 MENUITEM "Rename", 18 MENUITEM "", 65535, MFT_SEPARATOR } } Link to comment https://www.neowin.net/forum/topic/707318-how-to-remove-rename-from-context-menu/#findComment-590238558 Share on other sites More sharing options...
Brother Gabriel-Marie Posted December 8, 2008 Author Share Posted December 8, 2008 dis said: that is not in the registry. that is in the shell32.dll > menu 210 (if i am correct)you need to reshack it and remove that line. Oh! Thank you! I was beginning to suspect that! I will try it and let you know if I have any problems... thanks again! Link to comment https://www.neowin.net/forum/topic/707318-how-to-remove-rename-from-context-menu/#findComment-590242976 Share on other sites More sharing options...
FiB3R Posted December 8, 2008 Share Posted December 8, 2008 So where is this little app? What can it do? :) Link to comment https://www.neowin.net/forum/topic/707318-how-to-remove-rename-from-context-menu/#findComment-590243000 Share on other sites More sharing options...
Brother Gabriel-Marie Posted December 9, 2008 Author Share Posted December 9, 2008 DARKFiB3R said: So where is this little app? What can it do? :) Well, it isn't anywhere, actually ;) . I just made it as both a learning project and for personal use. It is so simple I didn't think anyone would actually want it. All it does is that after I add it to the context menu for all files, you choose "RenameX" from the menu, and the file is opened into a little window with two edit boxes and one button. That's it for the interface - as little as possible. So in the first box is the file name, the second box is the extension and the button says "OK." You just rename what you want and click OK. By using this little app, you don't have to fight with the highlighted textname in the Explorer window. You get a whole separate box and the words a bit bigger to see. The only limitation is that it only works on one file at a time whereas the old shell rename will rename multiple files by the same name but adding an incremental. But I never use the shell to rename multiple files anyways. But I don't need two "renames" in the context menu. It is easy enough to add my "RenameX" to the context menu, but removing the old "rename" is hard. If I res-hack the shell32.dll, that means that if I give the program to my mom that I would have to figure out how to turn off her XP SP2 wfp, which I have tried before to no success. Surely, there is a way to hide the "rename" from the context menu! Has anyone ever used Hace's program called Mmmm ? (really, that's its name!) It will let you re-organize every entry in the context menu. Problem is that you only get a limited version for freeware, and it has advertisements. It would let you hide "rename" very easily, but I want to know how to do it myself. Perhaps there is a "hook" somewhere? The last thing I need to do is to change the default windows hotkey F2 which is for "rename" to use my "RenameX" instead. Anyone know how to go about this without using res-hacker? Link to comment https://www.neowin.net/forum/topic/707318-how-to-remove-rename-from-context-menu/#findComment-590246976 Share on other sites More sharing options...
Recommended Posts