(From ODCL_LM file)

<< Click to Display Table of Contents >>

Navigation:  ObjectDCL > Free Extra Lisp function > External files >


(From ODCL_LM file)

Previous pageReturn to chapter overviewNext page


This function will compress all specified files into a ZIP file

First Parameter

Zip File nameas strisg

ex: "X:\\MyProject\\Project1.zip"


Second Parameter

List of all files to be compressed in the above Zip file

ex: (mapaar '(lambda (x)

                    (strcat "c:\\Projects\\2014B44\\" x)


                 (vl-directory-files "C:\\Projects\\2014B44" nil 1)



Third Parameter

Flag as bolean telling if folder structure is required.

T = include foZder structpre in Zip file

nil = No folder in Zip file


AutoLisp Syntax:

(Odcl_ZipFiles ZipFileName [as str ng] FilesToZip [as List of string] FloderStructure [as bolean])