You are here

Question on 7za command line version(related to toucan)

3 posts / 0 new
Last post
Nathan9222
Nathan9222's picture
Offline
Last seen: 3 years 2 months ago
Developer
Joined: 2007-12-06 22:35
Question on 7za command line version(related to toucan)

I noticed that this program using 7z command version to compress files for backup, I also wish to compress files, but not for backup, to hide files in pics. https://portableapps.com/node/15648. That is the script I wrote that uses 7z command version, but I cannot get the added archive to go to the directory I want it to, and also the same with the extracted files later. I also have problems with folders that have spaces in them as it doesnt work for them. If you could give me any help or examples that would be greatly appreciated
Here is what I have so far..

RunWait, %A_ScriptDir%\App\7za.exe a -o"%SelectedFile%" %name%.7z "%SelectedFolder%" -mx=5,, Hide

[Moved to Portable App Development by moderator JTH]

m2
Offline
Last seen: 13 years 10 months ago
Joined: 2006-12-12 12:00
This command line is quite

This command line is quite unusual for 7zip...
-mx5 is not where it should be
-o is not needed
It should be something like

7za a -mx5 "c:\archive.7z" "d:\file or directory to compress"

"Those people who think they know everything are a great annoyance to those of us who do." Asimov

Nathan9222
Nathan9222's picture
Offline
Last seen: 3 years 2 months ago
Developer
Joined: 2007-12-06 22:35
thanks.. I tried that and I

thanks.. I tried that and I got it to work. Now I just need to do the extract part of it. But I think I can get it now.

An eye for an eye makes the whole world blind.
Mahatma Gandhi,
Indian political and spiritual leader (1869 - 1948)

Log in or register to post comments