Opening multiple files in context menu

Joined
Jun 7, 2005
Messages
1
Reaction score
0
Ok, i am making a file renaming utility, you can add filesize (in MB or KB), filepath, creation date and/or time, a counter, parent folder, the original name etc...
I put the program in the (registry: *.*\shell\myprogram\command(value of the comand key is "...\myprogram.exe" "%1") context menu, so that when you select multiple files, the paths would be passed to the program.
First i was having problems with multiple instances of my program, and repeated opening of the Move Files dialog. I solved the multiple instance problem(mutex).
In Main each instance would write the path of args[0] to a file or registry, then the first instance would collect these, the others would then shut themselfs down.
This works, but i cant get rid of the annoying Move Files dialog. This also hapens when i multiselect and open .txt with notepad.
 

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