I mentioned something like this in a previous thread:in another thread, Kunkel321 wrote:And a Question: Has anyone figured out how to do an x2 command script to "call" 7-Zip??
http://forum.zabkat.com/viewtopic.php?t=7278#44804
Go check it!
Moderators: fgagnon, nikos, Site Mods
I mentioned something like this in a previous thread:in another thread, Kunkel321 wrote:And a Question: Has anyone figured out how to do an x2 command script to "call" 7-Zip??
Cool thanks!Mr.Pleasant wrote:7-zip to zip selected folder(s) to the opposite pane:
Code: >> "[path to 7z.exe]" a -tzip "$I\$N.zip" "$N"
7-zip to unzip selected zip(s) to the opposite pane:
Code: >> "[path to 7z.exe]" x "$N" -o"$I" -r
7-zip: test selected archive(s):
Code: $$ "[path to 7z.exe]" t "$F"
I took a little different path to the zipping 'problem.' I use:kunkel321 wrote: And a Question: Has anyone figured out how to do an x2 command script to "call" 7-Zip?? I know that there is a command line version (7z.exe). I thought it would be clever if I could use x2 to sellect-all (Ctrl-A) the files in SomeFolder, then click an x2 toolbar button and have the files automagically put into SomeFolder.zip...
Code: Select all
> E:\apps\utils\7-zip\7z.exe a $?.zip $S
Code: Select all
> E:\apps\utils\7-zip\7z.exe x $N -o$B
I apologize and stand corrected. In fact, you are right. The reason I was failing to get the second and third compressed files to open was the presence of a space in the file names. I kept using the same samples, the first of which had no spaces, the other two having spaces. And the result was consistent failure for other than the first. You were SO sure of your answer, I went back to it again.Mr.Pleasant wrote:For the second one: try ">>" in your command, instead of ">". I think that should work.Gary M. Mugford wrote:My only problem is that it's a one compressed file at a time