If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
running context menu entry from commandline?
Hi there,
I try to figure out the simplest method to start any context menu (right-click menu) entry from a commandline or perhaps an automation tool. I know I could use rundll32.exe for most of those entries. I could also get myself a very complex automation tool that would do anything I like on my WinXP. But I really only need to run some entries from the context menu. Any pointer is very much welcome.. Dan |
Ads |
#2
|
|||
|
|||
running context menu entry from commandline?
Hi Dan,
Customizing Right-Click Menu Options in Windows: http://www.jfitz.com/tips/rclick_custom.html Add or remove entries in the New objects list (ShellNew) http://windowsxp.mvps.org/shellnew.htm Manage the context-menu entries for folders, drives and Namespace objects http://windowsxp.mvps.org/context_folders.htm Creating Context Menu Handlers http://msdn.microsoft.com/library/de...nuhandlers.asp -- Regards, Bert Kinney [MS-MVP DTS] http://dts-l.org/ Dan wrote: Hi there, I try to figure out the simplest method to start any context menu (right-click menu) entry from a commandline or perhaps an automation tool. I know I could use rundll32.exe for most of those entries. I could also get myself a very complex automation tool that would do anything I like on my WinXP. But I really only need to run some entries from the context menu. Any pointer is very much welcome.. Dan |
#3
|
|||
|
|||
running context menu entry from commandline?
Thanks Bert,
I checked the links. Thanks. Unfortuantely, this is not what I was looking for. I do not want to add/change/delete any context-menu entries.. I just want to run them without having to right-click on them. For example, I do have the Layout.dll installed. That is, I can save and restore my desktop Icon layout by right-clicking on the My Computer icon and choose "Restore Desktop Icon Layout". So, for this I need to use the mouse or keyboard-shortcuts. Well I do not want to do this. I want to perform the same action from the commandline. Without touching the mouse. I know I can do similar things when the funtion I want is exposed to the shell. In that sense I could use rundll32. But that is not possible for all context entries. Layout.dll is one of those.. Again, what I search is a way to start any contex-menu entry from the command line or a script. Can that be done? Dan "Bert Kinney" wrote in message ... Hi Dan, Customizing Right-Click Menu Options in Windows: http://www.jfitz.com/tips/rclick_custom.html Add or remove entries in the New objects list (ShellNew) http://windowsxp.mvps.org/shellnew.htm Manage the context-menu entries for folders, drives and Namespace objects http://windowsxp.mvps.org/context_folders.htm Creating Context Menu Handlers http://msdn.microsoft.com/library/de...nuhandlers.asp -- Regards, Bert Kinney [MS-MVP DTS] http://dts-l.org/ Dan wrote: Hi there, I try to figure out the simplest method to start any context menu (right-click menu) entry from a commandline or perhaps an automation tool. I know I could use rundll32.exe for most of those entries. I could also get myself a very complex automation tool that would do anything I like on my WinXP. But I really only need to run some entries from the context menu. Any pointer is very much welcome.. Dan |
#4
|
|||
|
|||
running context menu entry from commandline?
Context menu handlers are stored in the registry and may invoke different
kinds of commands to execute their action. For example, as you note, if that action is to launch a dll, you could use rundll32 as a command line. Another context command might launch an exe with or without certain command line parameters, etc. In theory, a program could be developed for use from the command line that would look up the command for a particular shell extension in the registry and execute it, but there is no native capability in Windows to do this. -- "Dan" wrote in message ... Hi there, I try to figure out the simplest method to start any context menu (right-click menu) entry from a commandline or perhaps an automation tool. I know I could use rundll32.exe for most of those entries. I could also get myself a very complex automation tool that would do anything I like on my WinXP. But I really only need to run some entries from the context menu. Any pointer is very much welcome.. Dan |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
activation/deactivation of the start menu MRU through the registry | [email protected] | Performance and Maintainance of XP | 1 | December 2nd 04 09:51 PM |
Removing Items from Context Menu | swlbc | Windows XP Help and Support | 8 | November 24th 04 08:09 PM |
Removing Items from Context Menu | swlbc | General XP issues or comments | 2 | November 24th 04 01:01 AM |
Select All from context menu | Greg Kamer | General XP issues or comments | 4 | October 30th 04 03:00 AM |
XP Pro - right click context menu hangs up | Rob | General XP issues or comments | 1 | September 15th 04 02:51 AM |