ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Version: 2026

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))
WDZip: Overview
WDZip is used to compress and group your files in archives...
WDZip: Manipulating archive files
Compressed files in an archive can be manipulated using WDZip...
WDZip: Create or modify an archive
This help page explains how to...
zipFilter (Function)
Returns the list of archive formats supported by the current platform, in the format expected by the filter of fSelect.
<zipArchive variable>.NbPartNeeded (Function)
Returns the number of parts of a given size required to split a single-part archive.
The single-part and multi-part archives
Two types of archives are available...
<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 function is only available in subscription-based versions, starting with WINDEV Suite 2025 - Update 3.
zipNbFile (Function)
Returns the number of files found in an archive (in CAB, RAR, ZIP, WDZ or 7z format).
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 function is only available in subscription-based versions, starting with WINDEV Suite 2025 - Update 3.
The archives
WINDEV, WEBDEV and WINDEV Mobile propose several WLanguage functions allowing you to compress and merge your files into archives...
WDInst: Grouping the files to install
By default, when generating the setup program, the files to install are compressed in a single archive file ("...
<zipArchive variable>.Open (Function)
Opens an existing archive.
zipMsgError (Function)
Returns the message associated with an error code on an archive.
zipOpen (Function)
Opens an existing archive.
zipNbPartNeeded (Function)
Returns the number of parts of a given size required to split a single-part archive.
zipExtractPath (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.
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.
<zipArchive variable>.ExtractPath (Function)
Returns the path of a file found in the archive.
<zipArchive variable>.Create (Function)
Creates an archive.
<zipArchive variable>.Exist (Function)
Determines whether an archive exists.
zipEndAddingFile (Function)
Declares the end of the optimized addition of a series of files to an archive.
This function is only available in subscription-based versions, starting with WINDEV Suite 2025 - Update 3.
<zipArchive variable>.EndAddingFile (Function)
Declares the end of the optimized addition of a series of files to an archive.
This function is only available in subscription-based versions, starting with WINDEV Suite 2025 - Update 3.
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.
zipCreate (Function)
Creates an archive.
zipExist (Function)
Determines whether an archive exists.
<zipArchive variable>.IsMulti (Function)
Returns the type of the archive: single-part archive or multi-part 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.
<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.
zipCurrentFile (Function)
Returns the name of the archived file currently handled by the functions for adding and extracting files.
zipArchive (Variable type)
The zipArchive type is used to handle archive files in the following formats: ZIP, CAB, RAR, WDZ, 7z, TAR, gzip or TGZ (TAR.GZ).
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.
zipOpenCAB (Function)
Opens an existing archive in CAB format.
<zipArchive variable>.Merge (Function)
Merges the different sub-archives found in a multi-part archive to create a single-part archive.
Replication vocabulary
Before implementing the replication, you must be familiar with the vocabulary specific to the replication.
zipCompressionLevel (Function)
Changes the compression level used when creating an archive in ZIP format or in 7z format.
<zipArchive variable>.ListFile (Function)
Returns the list of files found in an archive.
zipSelectFile (Function)
Selects files from an archive.
<zipArchive>.SelectFile (Function)
Selects files from an archive.
zipIsMulti (Function)
Returns the type of the archive: single-part archive or multi-part archive.
<zipArchive variable>.DeleteFile (Function)
Deletes a file from an archive.
zipDeleteAll (Function)
Deletes all files from an archive.
<zipArchive variable>.Close (Function)
Closes an archive.
zipPassword (Function)
Defines the password used to add files into the specified archive and to extract files from the specified archive (RAR, ZIP and WDZ format).
zipListFile (Function)
Returns the list of files found in an archive.
<zipArchive variable>.ChangePath (Function)
Modifies the stored path of a file in an archive (in ZIP, WDZ or 7z format).
zipMerge (Function)
Merges the different sub-archives found in a multi-part archive to create a single-part archive.
zipDeleteFile (Function)
Deletes a file from an archive.
<zipArchive variable>.OpenRAR (Function)
Opens an existing archive in RAR format.
<zipArchive variable>.FindFile (Function)
Search for a file in an archive (CAB, ZIP, RAR, WDZ, 7z, gzip, TAR or TGZ (TAR.GZ) format).
zipOpenRAR (Function)
Opens an existing archive in RAR 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.
zipClose (Function)
Closes an archive.
zipDeleteFileList (Function)
Deletes a list of files from an archive.
<zipArchive variable>.DeleteFileList (Function)
Deletes a list of files from an archive.
zipChangePath (Function)
Modifies the stored path of a file in an archive (in ZIP, WDZ or 7z format).
zipSplit (Function)
Splits an archive into several sub-archives of a given size.
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.
zipFindFile (Function)
Search for a file in an archive (CAB, ZIP, RAR, WDZ, 7z, gzip, TAR or TGZ (TAR.GZ) format).
<zipArchive variable>.Split (Function)
Splits an archive into several sub-archives of a given size.
zipExtractDirectory (Function)
Automatically extracts and decompresses files from a directory in the file tree of an archive to a physical location.
<zipArchive variable>.ExtractDirectory (Function)
Automatically extracts and decompresses files from a directory in the file tree of an archive to a physical location.
fUncompress (Function)
Decompresses a file that was compressed by fCompress.
<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>.ExtractFile (Function)
Extracts a file from an archive and automatically decompresses it to a physical location or in memory.
zipAddFile (Function)
Automatically adds and compresses any type of file into a CAB, ZIP, WDZ, 7z, TAR, gzip or TGZ (TAR.GZ) archive.
zipExtractFile (Function)
Extracts a file from an archive and automatically decompresses it to a physical location or in memory.
zipExtractAll (Function)
Extracts all files from an archive and decompresses them.
<zipArchive variable>.AddDirectory (Function)
Adds all the files found in a directory and in its subdirectories into an archive and compresses them.
zipAddDirectory (Function)
Adds all the files found in a directory and in its subdirectories into an archive and compresses them.
<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.
WDLog: Backup of HFSQL tables
WDLog allows you to save all the HFSQL tables used by a WINDEV or WEBDEV application...
<zipArchive variable>.ExtractAll (Function)
Extracts all files from an archive and decompresses them.
<zipArchive variable>.CreateExe (Function)
Creates a self-extracting archive as a 32-bit executable (.EXE).
zipExeCreationParameter (Variable type)
The zipExeCreationParameter type is used to define all the information needed to create a self-extracting archive (.EXE file).
This variable type is only available in subscription-based versions, starting with WINDEV Suite 2025 - Update 3.
<zipArchive variable>.ExtractFileList (Function)
Extracts and decompresses a list of files found in an archive to a physical location.
fStopCompress (Function)
Stops the operation used to compress or decompress a file.
zipExtractFileList (Function)
Extracts and decompresses a list of files found in an archive to a physical location.
zipCreateExe (Function)
Creates a self-extracting archive as a 32-bit executable (.EXE).
zipCreateExe (Example)
Usage example of the zipCreateExe function
fCompress (Function)
Compresses a file.
zipOpen (Example)
Usage example of the zipOpen function
HInfoReplica (Function)
Returns information about the specified replica.
<zipArchive variable>.OpenCAB (Function)
Opens an existing archive in CAB format.
zipAddFileList (Function)
Automatically adds and compresses a list of files into a ZIP, CAB, WDZ, 7z, TAR, gzip or TGZ (TAR.GZ) archive.
External components for different platforms
Components are a remarkably useful tool for development teams...
zipAddFile (Example)
Usage example of the zipAddFile function
zipAddDirectory (Example)
Usage example of the zipAddDirectory function
SCM: Managing components
WINDEV, WEBDEV and WINDEV Mobile allow you to easily create and publish components...
zipExtractFile (Example)
Usage example of the zipExtractFile function
WDDeploy: Deploy a static or PHP site
To install the files of a static site on a Web server...
Extensions of files created by WINDEV, WEBDEV, WINDEV Mobile
The table below presents the main extensions of files created and supported by WINDEV, WEBDEV and WINDEV Mobile...
WDInst: generate installation program
Generating the setup program is used to create the setup program according to the characteristics specified in the setup editor WDInst.
zipExtractAll (Example)
Usage example of the zipExtractAll function
Archiving function constants
List of constants used by the archiving functions.
WINDEV, WEBDEV and WINDEV Mobile tools
The following tools are provided with WINDEV, WEBDEV and WINDEV Mobile
zipNbPartNeeded (Example)
Usage example of the zipNbPartNeeded function
Journalized replication: Programming journalized replication in WLanguage
Several WLanguage functions allow you to include log-based replication in your application and to customize it...
zipMerge (Example)
Usage example of the zipMerge function
zipListFile (Example)
Usage example of the zipListFile function
HCreateMovableReplica (Function)
Creates a movable replication.
zipSize (Example)
Usage example of the zipSize function
Organizing the directories of a project
When creating a project, a directory specific to this project is automatically created...
WINDEV 2026: New WLanguage features
Version 2026 includes new and improved functions, properties and data types, ...
WINDEV Mobile 2026: New WLanguage features
Version 2026 includes new and improved functions, properties and data types, ...
WLanguage procedure called by zipAddDirectory
WLanguage procedure ("Callback") called when adding files with zipAddDirectory.
WLanguage procedure called by zipAddFile
WLanguage procedure ("Callback") used by zipAddFile to manage the progress of files being added to the archive.
WEBDEV 2026: New WLanguage features
Version 2026 includes new and improved functions, properties and data types, ...
WINDEV Mobile new features brochure 2026
What's new in WINDEV Mobile 2026 is presented in the What's new 2026 brochure.
WLanguage procedure called by zipAddDirectory to handle the progress bar
WLanguage procedure ("Callback") used by zipAddDirectory to manage the progress of files being added to the archive.
2026 novelties brochure: WEBDEV novelties
WEBDEV 2026 new features in the 2026 New Features brochure.
Advanced types
The advanced types of WLanguage are as follows
2026 new features brochure: WINDEV new features
What's new in WINDEV 2026 in the What's new 2026 brochure.
2. Examples provided with WINDEV
The examples provided with WINDEV are intended to help you learn the features of WINDEV.
Site map of PC SOFT documentation
The "Logs" tab is used to see the details of logs for a specific period...
1
3
4
5