For generate a ZIP file:
1) Insert this code in a Genexus Report:
&cmd= '7z.exe a -tzip ' + &FileNameZIPDestiny + ' ' + &FileNameOrigin
&ret=shell(&cmd,0)
2) Copy 7z.exe file to the root directory.
Yoy can find 7z at www.7-zip.org
Tuesday, May 6, 2008
Web.Misc - Generate ZIP/RAR Files with Genexus
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment