Zip function on win 7
Jan Eskilsson
janeskil1525 at gmail.com
Thu Aug 16 09:46:05 EDT 2012
Hi Mike
www.7-zip.org
Works really well, we also use it a lot from Omnis.
Best Regards
Jan Eskilsson
2012/8/16 Mike Matthews <omnis at lineal.co.uk>:
> Hello Pedro,
>
> What is 7zip? Included with win7 or do you have buy / install it?
>
> Mike
>
> Mike Matthews, Managing Director, Lineal Software Solutions Ltd
>
> Apple Reseller, Microsoft Partner, SQLWorks Business Partner
> phone: 01271 850550 | web: lineal.co.uk | email: mike at lineal.co.uk
>
> On 16 Aug 2012, at 16:14, "Pedro Santos" <pedro.santos at macwin.pt> wrote:
>
>> Hi Will.
>>
>> We use 7zip with the command line:
>>
>> Start program minimized {[con(lvc7zipfolder,'\7z.exe a -sfx7z.sfx -t7z
>> ',lvcFolder,' -m0=BCJ -m1=LZMA:d=25 -mx=9 -ms -mmt')]}
>>
>> Hth,
>> Pedro
>>
>> -----Mensagem original-----
>> De: Will Adkin [mailto:will.adkin at lineal.co.uk]
>> Enviada: quinta-feira, 16 de Agosto de 2012 13:15
>> Para: omnisdev-en at lists.omnis-dev.com
>> Assunto: Zip function on win 7
>>
>> Hi List,
>>
>> Does anyone know of a way to zip a folder and its contents on a Windows
>> 7 machine (64 bit) using Omnis 5.2.1? We have this code to do it on a
>> mac:
>>
>> ; Prepare the applescript.
>> Begin text block
>> Text: tell application "Finder" (Carriage return)
>> Text: do shell script "cd [ParentDirPosixPath] ; zip -r '[ZipFileName]'
>> '[SourceName]'" (Carriage return)
>> Text: end tell (Carriage return)
>> End text block
>> Get text block Script
>>
>> ; Execute the applescript.
>> Do $runapplescript(Script,Result) Returns ErrCode
>>
>> I've been spending all morning trying to figure out the world of dll's
>> and SHELL32, but so far no joy. No luck with Java either...
>>
>> If any one else does this in their app i'd love some pointers...
>>
>> Thanks in advance,
>>
>> Will Adkin
>> Lineal
>>
>>
>> Will Adkin, Software Development Manager, Lineal Software Solutions Ltd
>> Apple Reseller, Microsoft Partner, SQLWorks Business Partner office
>> phone: 01271 850550 | web: lineal.co.uk | email: will at lineal.co.uk
>>
>> _____________________________________________________________
>> Manage your list subscriptions at http://lists.omnis-dev.com
>> _____________________________________________________________
>> Manage your list subscriptions at http://lists.omnis-dev.com
>
> _____________________________________________________________
> Manage your list subscriptions at http://lists.omnis-dev.com
--
No trees were killed in the creation of this message.
However, many electrons were terribly inconvenienced.
Please consider the environment before you print this email.
(1) The contents of this transmission are privileged and confidential
and intended solely for the use of the addressee. Any disclosure,
distribution or copying of the contents, other than by the addressee,
is strictly prohibited. If you receive this transmission in error,
please notify us immediately and destroy the material received.
(2) All incoming and outgoing emails and any attachments are subjected
to a virus scanner and are believed to be free of any virus, or any
other defect which might affect any computer or IT system into which
they are received and opened. Therefore, it is the responsibility of
the recipient to ensure that they are virus free and no responsibility
is accepted by Jan Eskilsson for any loss or damage arising in any
way from receipt or use thereof.
More information about the omnisdev-en
mailing list