views:

32

answers:

3

I am able to get a shell registry type context menu function to work , see below . But is there a way to tell windows to send multiple files selected to the same application , perhaps instead of %1 or %L some other parameter . What happens now is that it launches the associated application for each file in the list .

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT*\shell] [HKEY_CLASSES_ROOT*\shell\sendtomyapp] @="&Upload to (File*Pics)Mojo" [HKEY_CLASSES_ROOT*\shell\sendtomyapp\command] @="c:\Program Files\app_directory\App.exe -n \"%1\""

Is there a way to send an array of names like sys.args in python ?

A: 

Seems like a superuser.com question, but I think these kind of operations require a bit of code. e.g. you write a proxy program that accepts the files, and adds them to an execution queue or batch of another program (like adding several files to a media player) I don't know if what you are looking for is supported inherently in Windows

Ehrann Mehdan
A: 

You will need a full shell extension DLL to do what you want to do here. So the answer is programming even if the question was not.

bmargulies
+1  A: 

My guess is to look into DDEExec instead of shell\open\command. http://msdn.microsoft.com/en-us/library/bb165967(VS.80).aspx

EricLaw -MSFT-
DDE is the correct way to go for registry-driven menu items.
Remy Lebeau - TeamB