DO Archives

Goodmorning!

I have a bunch of files in a directory (lets say: test1.txt, test2.txt, test3.txt) and I would like to zip them in different archives (test1.zip, test2.zip and test3.zip). How can I do that in one go? Now I rightclick the file and choose "Directory Opus Archives -> Add To .....". and I have to repeat it for every file.

Sorry if i'm overlooking something!

Regards,
Rien van Ham

This does that:


Oh no, what an ah(!) am I. I only looked under "New Folder", "New Archive" (why is it there?) and rightclicking the file.

Thanks again Leo!

great this is what i need but how to set compression type eg 7z thx

This button does the same but with 7z archives:

FilesToSeparate7zArchives.dcf (992 Bytes)
(For how to add the .dcf file to your toolbar: How to add buttons from this forum to your toolbars.)

JScript script code for reference:

function OnClick(clickData) { var cmd = clickData.func.command; cmd.deselect = false; // Prevent automatic deselection cmd.ClearFiles(); for (var eSel = new Enumerator(clickData.func.sourcetab.selected); !eSel.atEnd(); eSel.moveNext()) { cmd.RunCommand("Copy \"" + eSel.item().realpath + "\" HERE ARCHIVE=.7z CREATEFOLDER=\"" + eSel.item().name_stem + ".7z\""); } }

great that did the trick thank you