Introduction

This article explains how to easily extend Windows shell functionality. By integrating your application with the Shell, you can extend the Shell's functionality and customize certain aspects of its behavior. In order of increasing complexity, you can extend the Shell by:

Putting information in the registry or in special files.

Implementing a Shell extension handler.

Implementing a namespace extension.

File associations use verbs as shorthand for actions that are invoked on items in the Shell namespace, including files and folders. Verbs are closely related to the Shell shortcut menus, where each menu item is associated with a verb.

Supplemental verbs are any verbs other than the standard canonical verbs, and are most often used to add custom behavior beyond what the default system verbs provide. On Windows XP or later, you can add supplemental verbs to the SystemFileAssociations extension, or to the Shell subkey for the PerceivedType key.

Using the code

For example, suppose CoolLogEditor is a text LOG editor and the developers of CoolTextEditor want to add a supplemental verb that displays "CoolLogEditor" when you right-click any file of the ".log" extension type To accomplish this, a key named CoolLogEditor is added to the registry as follows:

Here is how VS.Net BuildHere works

Following are registry keys which will add a menu item on the File Explorer. When you right click a Microsoft Visual Studio 2003 or 2005 Project or Solution a batch file find outs correct version of the Project or Solution and sets environment and runs compile command for it.

Conclusion

I hope you will enjoy this handy tool.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.