shell \ command help

  • Thread starter Thread starter Bill
  • Start date Start date
B

Bill

I want to be able to select multiple files from a directory and then send
them to my application as a command line. I am able to get this working in
the sense that if I select 10 files it starts 10 instances of my
application. What I want is it to start it once and have all the selected
files passed in as arguments.

Is this possible?

I am using the below registry entry now but like I said it opens 10
instances instead of just 1 with 10 parameters.

HKEY_CLASSES_ROOT\mp3file\shell\Create Playlist\Command
@='myapplication.exe "%L"'
 
In said:
I want to be able to select multiple files from a directory and
then send them to my application as a command line. I am able to
get this working in the sense that if I select 10 files it starts
10 instances of my application. What I want is it to start it
once and have all the selected files passed in as arguments.

Is this possible?

I am using the below registry entry now but like I said it opens
10 instances instead of just 1 with 10 parameters.

HKEY_CLASSES_ROOT\mp3file\shell\Create Playlist\Command
@='myapplication.exe "%L"'

I don't know where playlists fit in. Unless your app is a mediafile
player.

Use the SendTo to good advantage. Create a shortcut there to
myapplication.CMD which in bare form might be like
@echo off
echo PASSED: %*
pause
REM START "" FullyQualifiedPath\myapplication.exe %*

Assumes your app can accept multiple space-delimited dbl-quoted fully
qualified paths as arguments.
 
Back
Top