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.
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.