ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Version: 2025

Category: Archive functions
90 results
<zipArchive variable>.AddDirectory (Function)
Adds all the files found in a directory and in its subdirectories into an archive and compresses them.
<zipArchive variable>.AddFile (Function)
Automatically adds and compresses any type of file into a CAB, ZIP, WDZ, 7z, TAR, gzip or TGZ (TAR.GZ) archive.
<zipArchive variable>.AddFileList (Function)
Automatically adds and compresses a list of files into a ZIP, CAB, WDZ, 7z, TAR, gzip or TGZ (TAR.GZ) archive.
<zipArchive variable>.ChangePath (Function)
Modifies the stored path of a file in an archive (in ZIP, WDZ or 7z format).
<zipArchive variable>.Close (Function)
Closes an archive.
<zipArchive variable>.Create (Function)
Creates an archive.
<zipArchive variable>.CreateExe (Function)
Creates a self-extracting archive as a 32-bit executable (.EXE).
<zipArchive variable>.CurrentFile (Function)
Returns the name of the archived file currently handled by the functions for adding and extracting files.
<zipArchive variable>.DeleteAll (Function)
Deletes all files from an archive.
<zipArchive variable>.DeleteFile (Function)
Deletes a file from an archive.
<zipArchive variable>.DeleteFileList (Function)
Deletes a list of files from an archive.
<zipArchive variable>.EndAddingFile (Function)
Declares the end of the optimized addition of a series of files to an archive.
This new function is available from WINDEV Suite SaaS 2025 - Update 3.
<zipArchive variable>.Exist (Function)
Determines whether an archive exists.
<zipArchive variable>.ExtractAll (Function)
Extracts all files from an archive and decompresses them.
<zipArchive variable>.ExtractDirectory (Function)
Automatically extracts and decompresses files from a directory in the file tree of an archive to a physical location.
<zipArchive variable>.ExtractFile (Function)
Extracts a file from an archive and automatically decompresses it to a physical location or in memory.
<zipArchive variable>.ExtractFileList (Function)
Extracts and decompresses a list of files found in an archive to a physical location.
<zipArchive variable>.ExtractPath (Function)
Returns the path of a file found in the archive.
<zipArchive variable>.FileSize (Function)
Returns the size of one of the archive files (in CAB, RAR, WDZ, ZIP, 7z, gzip, TAR or TGZ (TAR.GZ) format):
  • the compressed size of the file.
  • the size of file before compression.
<zipArchive variable>.FindFile (Function)
Search for a file in an archive (CAB, ZIP, RAR, WDZ, 7z, gzip, TAR or TGZ (TAR.GZ) format).
<zipArchive variable>.InfoFile (Function)
Returns the characteristics of a file found an archive:
  • The name of the file and its stored path.
  • The initial size of the file.
  • The compressed size of file.
  • The date and time of file creation.
  • The date and time of file modification.
  • The date and time of file access.
  • The file attributes.
  • The file encryption mode.
<zipArchive variable>.IsMulti (Function)
Returns the type of the archive: single-part archive or multi-part archive.
<zipArchive variable>.ListFile (Function)
Returns the list of files found in an archive.
<zipArchive variable>.Merge (Function)
Merges the different sub-archives found in a multi-part archive to create a single-part archive.
<zipArchive variable>.NbPartNeeded (Function)
Returns the number of parts of a given size required to split a single-part archive.
<zipArchive variable>.Open (Function)
Opens an existing archive.
<zipArchive variable>.OpenCAB (Function)
Opens an existing archive in CAB format.
<zipArchive variable>.OpenRAR (Function)
Opens an existing archive in RAR format.
<zipArchive variable>.Split (Function)
Splits an archive into several sub-archives of a given size.
<zipArchive variable>.StartAddingFile (Function)
Declares the start of the optimized addition of files to a CAB, ZIP, WDZ, 7z, TAR, gzip or TGZ (TAR.GZ) archive.
This new function is available from WINDEV Suite SaaS 2025 - Update 3.
<zipArchive>.SelectFile (Function)
Selects files from an archive.
Archiving function constants
List of constants used by the archiving functions.
Archiving functions (ZIP, WDZ, CAB, RAR, 7z, TAR, gzip and TGZ (TAR.GZ))
Archiving functions (ZIP, WDZ, CAB, RAR, 7z, TAR, gzip and TGZ (TAR.GZ))
Archiving functions (ZIP, WDZ, CAB, RAR, 7z, TAR, gzip, etc.) (prefix syntax)
Archiving functions (ZIP, WDZ, CAB, RAR, 7z, TAR, gzip and TGZ (TAR.GZ))
The archives
WINDEV, WEBDEV and WINDEV Mobile propose several WLanguage functions allowing you to compress and merge your files into archives...
The single-part and multi-part archives
Two types of archives are available...
WLanguage procedure
6 documents
zipAddDirectory (Example)
Usage example of the zipAddDirectory function
zipAddDirectory (Function)
Adds all the files found in a directory and in its subdirectories into an archive and compresses them.
zipAddFile (Function)
Automatically adds and compresses any type of file into a CAB, ZIP, WDZ, 7z, TAR, gzip or TGZ (TAR.GZ) archive.
zipAddFileList (Function)
Automatically adds and compresses a list of files into a ZIP, CAB, WDZ, 7z, TAR, gzip or TGZ (TAR.GZ) archive.
zipArchive (Variable type)
The type zipArchive type is used to manipulate an archive file corresponding to one of the following formats: ZIP, CAB, RAR, WDZ, 7z, TAR, gzip or TGZ (TAR.GZ).
zipArchivedFile (Variable type)
The zipArchivedFile type is used to handle:
  • a file contained in an archive corresponding to one of the following formats: ZIP, CAB, RAR, WDZ, 7z, TAR, gzip or TGZ (TAR.GZ).
  • a file to add into an archive.
zipChangePath (Function)
Modifies the stored path of a file in an archive (in ZIP, WDZ or 7z format).
zipClose (Function)
Closes an archive.
zipCompressionLevel (Function)
Changes the compression level used when creating an archive in ZIP format or in 7z format.
zipCreate (Example)
Usage example of the zipCreate function
zipCreate (Function)
Creates an archive.
zipCreateExe (Example)
Usage example of the zipCreateExe function
zipCreateExe (Function)
Creates a self-extracting archive as a 32-bit executable (.EXE).
zipCurrentFile (Function)
Returns the name of the archived file currently handled by the functions for adding and extracting files.
zipDeleteAll (Example)
Usage example of the zipDeleteAll function
zipDeleteAll (Function)
Deletes all files from an archive.
zipDeleteFile (Example)
Usage example of the zipDeleteFile function
zipDeleteFile (Function)
Deletes a file from an archive.
zipDeleteFileList (Function)
Deletes a list of files from an archive.
zipEndAddingFile (Function)
Declares the end of the optimized addition of a series of files to an archive.
This new function is available from WINDEV Suite SaaS 2025 - Update 3.
zipExeCreationParameter (Variable type)
The zipExeCreationParameter type is used to define all the information needed to create a self-extracting archive (.EXE file).
This new variable type is available from WINDEV Suite SaaS 2025 Update 3.
zipExist (Function)
Determines whether an archive exists.
zipExtractAll (Function)
Extracts all files from an archive and decompresses them.
zipExtractDirectory (Function)
Automatically extracts and decompresses files from a directory in the file tree of an archive to a physical location.
zipExtractFile (Example)
Usage example of the zipExtractFile function
zipExtractFile (Function)
Extracts a file from an archive and automatically decompresses it to a physical location or in memory.
zipExtractFileList (Function)
Extracts and decompresses a list of files found in an archive to a physical location.
zipExtractPath (Example)
Usage example of the zipExtractPath function
zipExtractPath (Function)
Returns the path of a file found in the archive.
zipFileSize (Function)
Returns the size of one of the archive files (in CAB, RAR, WDZ, ZIP, 7z, gzip, TAR or TGZ (TAR.GZ) format):
  • the compressed size of the file.
  • the size of file before compression.
zipFilter (Function)
Returns the list of archive formats supported by the current platform, in the format expected by the filter of fSelect.
zipFindFile (Function)
Search for a file in an archive (CAB, ZIP, RAR, WDZ, 7z, gzip, TAR or TGZ (TAR.GZ) format).
zipInfoFile (Function)
Returns the characteristics of a file found an archive:
  • The name of the file and its stored path.
  • The initial size of the file.
  • The compressed size of file.
  • The date and time of file creation.
  • The date and time of file modification.
  • The date and time of file access.
  • The file attributes.
  • The file encryption mode.
zipIsMulti (Example)
Usage example of the zipIsMulti function
zipIsMulti (Function)
Returns the type of the archive: single-part archive or multi-part archive.
zipListFile (Example)
Usage example of the zipListFile function
zipListFile (Function)
Returns the list of files found in an archive.
zipMerge (Function)
Merges the different sub-archives found in a multi-part archive to create a single-part archive.
zipMsgError (Function)
Returns the message associated with an error code on an archive.
zipNbFile (Example)
Usage example of the zipNbFile function
zipNbFile (Function)
Returns the number of files found in an archive (in CAB, RAR, ZIP, WDZ or 7z format).
zipNbPart (Example)
Usage example of the zipNbPart function
zipNbPart (Function)
Returns the number of sub-archives (parts) of an archive in CAB, RAR, ZIP, WDZ, 7z, gzip, TAR or TGZ (TAR.GZ) format.
zipNbPartNeeded (Example)
Usage example of the zipNbPartNeeded function
zipNbPartNeeded (Function)
Returns the number of parts of a given size required to split a single-part archive.
zipOpen (Function)
Opens an existing archive.
zipOpenCAB (Function)
Opens an existing archive in CAB format.
zipOpenRAR (Function)
Opens an existing archive in RAR format.
zipPassword (Function)
Defines the password used to add files to the specified archive and to extract files from the specified archive (RAR, ZIP and WDZ format).
zipSelectFile (Function)
Selects files from an archive.
zipSize (Function)
Returns the size of the archive (in ZIP, RAR, CAB, WDZ, 7z, gzip, TAR or TGZ (TAR.GZ) format):
  • the size of all compressed files found in the archive.
  • the size of all files found in the archive before compression.
zipSplit (Function)
Splits an archive into several sub-archives of a given size.
zipStartAddingFile (Function)
Declares the start of the optimized addition of files to a CAB, ZIP, WDZ, 7z, TAR, gzip or TGZ (TAR.GZ) archive.
This new function is available from WINDEV Suite SaaS 2025 - Update 3.