How to add a application to system menu and Startup in System Configuration Utility?
-
I wamt to add my application to menu(appear when right click at a folder or a file) and add it to Startup in System Configuration Utility (Run - > msconfig).Thank you very much!!!!!
-
I wamt to add my application to menu(appear when right click at a folder or a file) and add it to Startup in System Configuration Utility (Run - > msconfig).Thank you very much!!!!!
-
I wamt to add my application to menu(appear when right click at a folder or a file) and add it to Startup in System Configuration Utility (Run - > msconfig).Thank you very much!!!!!
Hi, there are many ways to do this, and it depends on the intelligence you need behind this. If all you need is a fixed menu item (fixed text, fixed command line to execute) for files, folders or files+folders then it takes two registry entries: // create registry entries to get an entry in the Explorer context menu for all files and folders: // (replace AllFilesystemObjects by * for files not folders) // HKEY_CLASSES_ROOT\AllFilesystemObjects\Shell\SomeNameYouChoose.ContextMenu: // (Default) Open in my program // HKEY_CLASSES_ROOT\AllFilesystemObjects\Shell\SomeNameYouChoose.ContextMenu\Command: // (Default) path_to_my_exe "%1" If you need some code to run before the context menu appears (because you need to compute the right menu item text, etc) then it gets more complex. :)
Luc Pattyn [Forum Guidelines] [My Articles]
The quality and detail of your question reflects on the effectiveness of the help you are likely to get. Show formatted code inside PRE tags, and give clear symptoms when describing a problem.
-
I wamt to add my application to menu(appear when right click at a folder or a file) and add it to Startup in System Configuration Utility (Run - > msconfig).Thank you very much!!!!!
Here you are: Window Tabifier[^]
Giorgi Dalakishvili #region signature My Articles Asynchronous Registry Notification Using Strongly-typed WMI Classes in .NET [^] My blog #endregion