Help - Search - Members - Calendar
Full Version: Editing the registry to pass multiple files to a script
Hydrogenaudio Forums > Misc. > Off-Topic
greynol
I was wondering if anyone knows how to pass multiple files to the same script file without having to drag and drop them to the script or a shortcut to the script.

I'd like to be able to select multiple files and right click in order to perform an action on them.

I came up with a way that processes a list made up of multiple instances of single files being passed to a batch script but it is cumbersome and spawns too many windows. Unfortunately it relies on timing which gets disrupted if I try to use a WSH command to hide them.

Is there anything I can do to the association in the registry to make this work?

Are there other scripting methods that allow this to be done?

I'm much more comfortable with batch scripts than I am with other methods.

Any help would be greatly appreciated.
bhoar
Unfortunately, the standard regedit shell command for "*" approach only works to launch one process per file.

For multiple files, you need a DDE handler. I suppose *someone* out there has put together a generic DDE handler that can be configured to wrap up the selected filenames and pass them to any executable via a command line.

-brendan
greynol
Thanks for the reply, Brendan.

I haven't been able to find anything for this. Oh well...
Klyith
If it works when you drag & drop to a shortcut on the desktop, then just put that shortcut in your "send to" menu. Easy peasy!
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.