Register | Login | |||||
Main
| Memberlist
| Active users
| ACS
| Commons
| Calendar
| Online users Ranks | FAQ | Color Chart | Photo album | IRC Chat |
| |
0 user currently in Programming. | 3 guests |
Acmlm's Board - I2 Archive - Programming - Adding items to Explorer's right-click menu (C++) | | | |
Add to favorites | "RSS" Feed | Next newer thread | Next older thread |
User | Post | ||
Dish Spiny Level: 38 Posts: 579/596 EXP: 355646 For next: 14801 Since: 03-15-04 From: Disch Since last post: 18 days Last activity: 18 days |
| ||
I'm looking for a way to add a few options to the right-click menu in explorer. Like for example when you right-click on a certain filetype, my new added options would appear and clicking on them would launch of program with the proper commandline args. A perfect example of a program which does this is WinRAR (or WinZip) -- when you right click on a .zip/.rar file, several options to decompress the file appear. The only thing I know is that you have to make some weird additions to the registry. What exactly you have to add/change is still a mystery, as is anything else you need to do to get something like this working. Sliver pointed me to HKEY_CLASSES_ROOT/*/shellex/ContextMenuHandlers/ ...where an entry for WinRAR can be found -- unfortunatly, I wasn't able to use WinRAR as an example, or even dig up further items for research. If anyone can shed any light on this, it'd be appreciated. |
|||
dan Snap Dragon Level: 43 Posts: 735/782 EXP: 534516 For next: 30530 Since: 03-15-04 Since last post: 20 hours Last activity: 14 hours |
| ||
http://www.codeproject.com/shell/shellextguideindex.asp | |||
beneficii Lakitu Level: 36 Posts: 504/567 EXP: 299656 For next: 8454 Since: 06-27-04 From: Cordova, TN, USA Since last post: 14 hours Last activity: 6 hours |
| ||
Originally posted by Disch Well, on Win98, if I want to add more options for a file type, I go to HKEY_CLASSES_ROOT, go to one of the extensions I want to change (starting with "."), look at the name in default, go to that name under HKEY_CLASSES_ROOT, go to subfolder "shell," add a new folder to that shell, to the default put the name of the command, create a new folder that's sub to it named "command," and put the Command Prompt to command to handle the file like you want under default using "%1" to substitute for the file name. |
Add to favorites | "RSS" Feed | Next newer thread | Next older thread |
Acmlm's Board - I2 Archive - Programming - Adding items to Explorer's right-click menu (C++) | | | |