File context menu

  • Thread starter Thread starter Charlie Klatzkin
  • Start date 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.
 
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?
 
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?
 
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.
 
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.
 
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.
 
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.
 
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.
 
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.
 
Back
Top