File context menu

  • Thread starter Charlie Klatzkin
  • Start date
C

Charlie Klatzkin

I would like to place an entry into the file right-click popup menu. If
I put an entry into "HKCR\*\shell\command", this will work if I pass
(right-click) one file. If I right-click on multiple files, then I get
multiple starts of my program. I would like to pass all selected files
to my program, not one at a time.
 
M

Mark V

Charlie Klatzkin wrote in
I would like to place an entry into the file right-click popup
menu. If I put an entry into "HKCR\*\shell\command", this will
work if I pass (right-click) one file. If I right-click on
multiple files, then I get multiple starts of my program. I would
like to pass all selected files to my program, not one at a time.

You should consider using a "SendTo" target instead perhaps. The app.
of course must be able to accept a bunch of fully qualified filesnames
all-at-once. That may not be possible.

Can your application be started from a command prompt that includes
multiple filenames?
 
M

Mark V

Charlie Klatzkin wrote in
I would like to place an entry into the file right-click popup
menu. If I put an entry into "HKCR\*\shell\command", this will
work if I pass (right-click) one file. If I right-click on
multiple files, then I get multiple starts of my program. I would
like to pass all selected files to my program, not one at a time.

You should consider using a "SendTo" target instead perhaps. The app.
of course must be able to accept a bunch of fully qualified filesnames
all-at-once. That may not be possible.

Can your application be started from a command prompt that includes
multiple filenames?
 
C

Charlie Klatzkin

Can your application be started from a command prompt that includes
multiple filenames?

Yes. I can handle multiple filename without a problem.

I originally had my app starting from the "SendTo" folder and all works
fine. I was just hoping to start my app from the context menu instead.
 
C

Charlie Klatzkin

Can your application be started from a command prompt that includes
multiple filenames?

Yes. I can handle multiple filename without a problem.

I originally had my app starting from the "SendTo" folder and all works
fine. I was just hoping to start my app from the context menu instead.
 
M

Mark V

Charlie Klatzkin wrote in
Yes. I can handle multiple filename without a problem.

I originally had my app starting from the "SendTo" folder and all
works fine. I was just hoping to start my app from the context
menu instead.

Well, you can try something. Might work.
Check in HKCR and find the Open (or other) command that is invoked
for the file type. If this includes the value
"%1"
try either
"%*"
or
"%1" "%*"

Good luck.
 
M

Mark V

Charlie Klatzkin wrote in
Yes. I can handle multiple filename without a problem.

I originally had my app starting from the "SendTo" folder and all
works fine. I was just hoping to start my app from the context
menu instead.

Well, you can try something. Might work.
Check in HKCR and find the Open (or other) command that is invoked
for the file type. If this includes the value
"%1"
try either
"%*"
or
"%1" "%*"

Good luck.
 
C

Charlie Klatzkin

I need it for all file types.

Mark V said:
Charlie Klatzkin wrote in

Well, you can try something. Might work.
Check in HKCR and find the Open (or other) command that is invoked
for the file type. If this includes the value
"%1"
try either
"%*"
or
"%1" "%*"

Good luck.
 
C

Charlie Klatzkin

I need it for all file types.

Mark V said:
Charlie Klatzkin wrote in

Well, you can try something. Might work.
Check in HKCR and find the Open (or other) command that is invoked
for the file type. If this includes the value
"%1"
try either
"%*"
or
"%1" "%*"

Good luck.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top