Hi Greg,
Below is a register file that adds context menu items when you right click on a .dll file which allows me to run an “Elevate.exe” on the dll. This example will adds 3 options Run as Administrator Elevate Register Elevate UnRegister It may help you adding a context menu item on a .sln with a bit of modification. I am running windows 10 and it works on my machine. REGEDIT4 ;Register modules (Elevated) from the context menu ;March 25, 2008 - (c) 2008 Ramesh Srinivasan ;http://www.winhelponline.com ;http://www.winhelponline.com/blog/ ; ========== ; .DLL files ; ========== [HKEY_CLASSES_ROOT\.dll] "Content Type"="application/x-msdownload" @="dllfile" [HKEY_CLASSES_ROOT\dllfile] @="Application Extension" [HKEY_CLASSES_ROOT\dllfile\shell] @="none" ;[HKEY_CLASSES_ROOT\dllfile\shell\runas] ;@="&Register (as Administrator)" ;[HKEY_CLASSES_ROOT\dllfile\shell\runas\command] ;@="regsvr32.exe \"%1\"" [HKEY_CLASSES_ROOT\dllfile\Shell\Elevate Register\command] @="Elevate.exe regsvr32.exe \"%1\"" [HKEY_CLASSES_ROOT\dllfile\Shell\Elevate UnRegister\command] @="Elevate.exe regsvr32.exe /u \"%1\"" ; ========== ; .OCX files ; ========== [HKEY_CLASSES_ROOT\.ocx] @="ocxfile" [HKEY_CLASSES_ROOT\ocxfile] @="OCX" [HKEY_CLASSES_ROOT\ocxfile\shell] @="none" ;[HKEY_CLASSES_ROOT\ocxfile\shell\runas] ;@="&Register (as Administrator)" ;[HKEY_CLASSES_ROOT\ocxfile\shell\runas\command] ;@="regsvr32.exe \"%1\"" [HKEY_CLASSES_ROOT\ocxfile\Shell\Elevate Register\command] @="Elevate regsvr32.exe \"%1\"" [HKEY_CLASSES_ROOT\ocxfile\Shell\Elevate UnRegister\command] @="Elevate regsvr32.exe /u \"%1\"" Regards Adrian Halid From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com] On Behalf Of Greg Keogh Sent: Wednesday, 5 July 2017 12:19 PM To: ozDotNet <ozdotnet@ozdotnet.com> Subject: Context menus for .sln file Folks, back on Windows 7 I made some registry tweaks to add some really handy extra "Open with" shell context menus for the .sln extension. My Blog Post <https://gfkeogh.blogspot.com.au/2015/04/solution-open-with-batch-build.html> on doing this is still online. On Windows 10 the registry changes have no effect. I spent a few hours searching and experimenting today to get it working, but no luck. Has anyone fiddled in this area? Maybe there are other ways of getting a "right click to build" facility. I really miss the convenience of those commands on the .sln file, and on other extensions as well. Greg K