Copy Path Shell Extension
I created a File Link shell extension in C++ a while back that allows you to copy path-info (full path, location, filename, UNC) for one or more files to the clipboard . I wanted to learn how to create shell extensions in .NET so I rewrote the util which implements the IContextMenu and IShellExtInit interfaces in .NET 2.0. I plan to cleanup the code and create a codeproject article but that task always falls to the bottom, so I'm providing the util without code in case anyone finds it useful.
- Run the Copy Path Setup. This installs the Copy Path shell extension.
- Open Explorer and select one or more files. Display the context menu and notice the new Copy Path menu. A preview of the path-info text that will be copied to the clipboard is displayed in the Explorer statusbar. Click a menu to copy the path-info to the clipboard.

- Some find it useful to display the path-info text directly in the context menu. You can do that by selecting Options and checking Display results in menu. The path-info can get quite long and you can truncate the menu text by checking Truncate long paths in menu. Note that the entire path is still copied to the clipboard, just a shorter string is displayed in the menu.

- Now the path-info is displayed directly in the context menu. Note that the info for the first file is used if multiple files are selected.

Let me know if you have any problems or suggestions.