3
2
I was inspired by my other question to try the following:
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Classes\.sln]
[HKEY_CURRENT_USER\Software\Classes\.sln\shell]
[HKEY_CURRENT_USER\Software\Classes\.sln\shell\countlines]
@="countlines"
[HKEY_CURRENT_USER\Software\Classes\.sln\shell\countlines\command]
@="c:\\countlines\\countlines.exe" %1
This should be adding a context menu item named "countlines" that runs the "countlines.exe" command, but it doesn't work.
How does one add a context menu entry for a given file extension?
Here's thinking that this is a dupe of the question linked to. OP should be adding this to that question via an edit, no? – marcusw – 2010-05-03T19:18:55.363
@marcusw: doesn't appear a duplicate to me; if anything it's a more general case (in which case the other question can be closed as a duplicate of this one). – quack quixote – 2010-05-03T19:26:25.637