Explorer Context Menu & Shell

  • 13 years ago

     What i want to do is add a context menu to Explorer when you right click on a file with the extension .cfg, saying 'Open With CFG-Edit'

    Then, i want my program to load up and open the file that was right clicked on, instead of just opening my program. I have made the context menu by adding a key to the registry: 'HKEY_CLASSES_ROOT\.cfg\shell\Open With CFG-Edit\command' then the key that launches my program. That works, but i now dont know how to open the file that was right clicked on.



Post a reply

No one has replied yet! Why not be the first?

Sign in or Join us (it's free).


Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“The generation of random numbers is too important to be left to chance.” - Robert R. Coveyou