commandline SFX or zip

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
TNH
Posts: 4
Joined: 11 Jul 2018 10:36

commandline SFX or zip

Post by TNH »

Hi
Can you help me please?
I am using this code to make command line SFX file.
run "C:\Users//\tande\Myp\Zip\peazip-6.6.0\peazip -add2sfx7z ""<selitems>""";
It is working with only one file , when i select more then one file it is doing nothing.
I tried with 7zip SFX with the same result.
When i try to create a zip file from more than one selected file it is creating an empty zip file.
I tried the built in zip_add() command and zip the files and after that run the SFX.
The The zip_add(); is working but the next line the SFX conversation is not in the same script.
Thanks
TN

highend
Posts: 15004
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: commandline SFX or zip

Post by highend »

Code: Select all

run """C:\Users\tande\Myp\Zip\peazip-6.6.0\peazip.exe"" -add2sfx7z <selitems>";
One of my scripts helped you out? Please donate via Paypal

Nighted
Posts: 463
Joined: 21 Jan 2007 01:58
Location: Gitmo Nation North, Win 7/10/Linux/(x64)

Re: commandline SFX or zip

Post by Nighted »

This is what I use for 7-zip.

Code: Select all

"..\7-Zip\App\7-Zip64\7zG.exe" a -sfx7z.sfx "<curbase>".exe -mmt8 -mx
I want XY to serve soft ice cream. Please Don, make XY serve soft ice cream.

Post Reply