ACON
Home/Topics |
Commands
The File Compression commands include:
Zip.
This command creates a compressed zip file of the files that are passed as parameters.
These files archived in the created zip file are compressed to save space.
The created Zip file may contain one or more files.
- There are 2 parameters:
- ZipName- string representing the name of the compressed zip file to be created
- filename- the name of the source file to compress
- OR
- FilenameMatrix- a character matrix of the multiple source files to compress.
Zip("ZipName", "filename");
Zip("ZipName", FilenameMatrix);
/* compress the file Test.jpeg */
Zip("C:/test.zip","C:/JPEGs/Test.jpg");
/* compress the 3 jpg files: Test1, Test2 and Test3 */
FilesMatrix = strfold("C:/JPEGs/Test1.jpg,C:/JPEGs/Test2.jpg,
C:/JPEGs/Test3.jpg",",");
Zip("C:/TestZipFiles.zip", FilesMatrix);
ACON
Home/Topics |
Commands
|