Opening multiple files in one copy of the software via the Windows context menu

Required:
To pack selected files under a password and to fill the archive on file sharing

Method:
In Windows Explorer to select multiple folders and files, then call the context menu, right-click, and select the previously added item in the context menu(specifies the software package and aplauda)

What happens now:
Added a key in the registry under HKEY_CLASSES_ROOT\*\shell\imashita\command\putat.
Open multiple copies of the program. And only folders or only files.

What you need:
To all of the selected files and folders were passed one copy of the software.

Examples:
Can serve as WinRar or 7Zip

Well, the question is how to implement it?
Or perhaps there are already ready decisions
October 8th 19 at 03:25
4 answers
October 8th 19 at 03:27
If you are interested in a software implementation, this is done by writing extensions for Explorer. The implementation of IContextMenu COM interface and so on. Here is the article www.rsdn.ru/article/winshell/shlext7.xml
So do WinRAR and 7zip. There are other techniques, but they are also connected to COM.

If you are interested in a turnkey solution, that is, programs that allow you to do this, for example
www.freewebs.com/dengdun/en/openxx.htm
There's settings to add your team, and choose Associate With: Files Multiple.
Thank You So Much! - Jeramy.Schaden commented on October 8th 19 at 03:30
October 8th 19 at 03:29
There is now at hand Windows, to check. But I remember that when thus specify the path to the program, the string "%1" after the name of the executable means that is invoked to run file and the parameter he passed... will be passed... and may not be transmitted...
In General, try this:
HKEY_CLASSES_ROOT\*\shell\имя_софта\command\путь_к_софту.exe %1
And smoke here:
msdn.microsoft.com/en-us/library/windows/desktop/cc144171(v=vs.85).aspx
October 8th 19 at 03:31
>In General, try this:
>HKEY_CLASSES_ROOT\*\shell\имя_софта\command\путь_к_софту.exe %1

so
October 8th 19 at 03:33
>To all selected files and folders were passed one copy of the software.

usually done so: when you start the program checks for already running instance, and if it finds one, it sends it in any way the name of the opened file and terminates. Do I understand correctly that you are interested in a software implementation? Or do you want to do some OS settings? If the latter, then remember that in WinXP the maximum command line length of about 8K characters
I am interested in any possible implementation. you used this method, preglem that then either folders or files, as needed and selected folders and files - Jeramy.Schaden commented on October 8th 19 at 03:36

Find more questions by tags User's navigation