I want to create my own entries/options for opening files. For example, I really like NSUdo as it can run .exe files as System and as Trusted Installer, but it does not come with a context meny option, so I can't just right-click and select "Run with NSudo". Can I create an entry/option like that? How? I just want "Run with NSudo" to open up NSudo and then I can manually select the needed .exe. I think a method that would launch NSudo and automatically select the desireable .exe (within NSudo) would be overly complicated. Note: When selecting "Run with NSudo" from context menu, I want NSudo to start with Administrative priverlages/permissions (same as manually right-clicking on NSudo.exe and selecting "Run as Administrator").
I do not know where you put your NSudo folder, so you will need to edit what is below to reflect your path. There is a NSudo.bat file, and you will need to edit it to reflect where the NSudo.exe is. Code: @echo off IF %PROCESSOR_ARCHITECTURE%==AMD64 start "" "H:\Portable_Files\NSudo 4.0\x64\NSudo.exe" && exit start "" "%cd%\Win32\NSudo.exe" && exit As you can see I edited the path for the AMD64 line. If you do not do this it won't know where to look. You also need to edit your registry. Also change the path in it to your NSudo.bat file. Code: Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\*\shell\Run With Nsudo] [HKEY_CLASSES_ROOT\*\shell\Run With Nsudo\Command] @="\"H:\\Portable_Files\\NSudo 4.0\\NSudo.bat\" %1" Now when you right click you will get Run With Nsudo. You can change this to whatever you want in the regedit file if you so desire. When you right-click on a file or whatever you can start Nsudo, and then browse to whichever file you want to open with it.
Since Windows 8 was released I have being steadily "growing" the context menu I use in all my Windows installations.
Holy crap! That is BEAUTIFUL! Can you share, please? Do you have an All-in-One file that adds all that? I don't have certain things and have others, so I know I will need to edit it, but a lot of things are the same!
Thanks. Please note the context menu registry code is posted as is and for the use as a reference only. Ensure a registry backup is made before merging any part of the code. I have customised the context menu for the specific software I use and for the way I use my computers. The only entry I'm currently having trouble with to get working is "Print Management".