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: Manipulating archive files
Compressed files in an archive can be manipulated using WDZip...
WDZip: Overview
WDZip is used to compress and group your files in archives...
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.
zipNbFile (Function)
Returns the number of files found in an archive (in CAB, RAR, ZIP, WDZ or 7z format).
<zipArchive variable>.Open (Function)
Opens an existing archive.
WDInst: Grouping the files to install
By default, when generating the setup program, the files to install are compressed in a single archive file ("...
The single-part and multi-part archives
Two types of archives are available...
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.
<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.
zipMsgError (Function)
Returns the message associated with an error code on an archive.
The archives
WINDEV, WEBDEV and WINDEV Mobile propose several WLanguage functions allowing you to compress and merge your files into archives...
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.
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>.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>.Create (Function)
Creates an archive.
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.
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.
<zipArchive variable>.Exist (Function)
Determines whether an archive exists.
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).
zipOpenCAB (Function)
Opens an existing archive in CAB format.
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.
<zipArchive variable>.DeleteFile (Function)
Deletes a file from an 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.
<zipArchive variable>.Merge (Function)
Merges the different sub-archives found in a multi-part archive to create a single-part archive.
zipSelectFile (Function)
Selects files from an archive.
<zipArchive>.SelectFile (Function)
Selects files from an archive.
zipDeleteAll (Function)
Deletes all files from 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).
<zipArchive variable>.Close (Function)
Closes an archive.
zipListFile (Function)
Returns the list of files found in an archive.
zipIsMulti (Function)
Returns the type of the archive: single-part archive or multi-part 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.
zipClose (Function)
Closes an archive.
<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.
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.
zipDeleteFileList (Function)
Deletes a list of files from an archive.
<zipArchive variable>.DeleteFileList (Function)
Deletes a list of files from an archive.
<zipArchive variable>.Split (Function)
Splits an archive into several sub-archives of a given size.
<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.
zipSplit (Function)
Splits an archive into several sub-archives of a given size.
zipFindFile (Function)
Search for a file in an archive (CAB, ZIP, RAR, WDZ, 7z, gzip, TAR or TGZ (TAR.GZ) format).
<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.
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.
zipChangePath (Function)
Modifies the stored path of a file in an archive (in ZIP, WDZ or 7z format).
<zipArchive variable>.ExtractFile (Function)
Extracts a file from an archive and automatically decompresses it to a physical location or in memory.
fUncompress (Function)
Decompresses a file that was compressed by fCompress.
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.
<zipArchive variable>.AddDirectory (Function)
Adds all the files found in a directory and in its subdirectories into an archive and compresses them.
zipExtractAll (Function)
Extracts all files from an archive and decompresses 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.
<zipArchive variable>.ExtractAll (Function)
Extracts all files from an archive and decompresses them.
WDLog: Backup of HFSQL data files
WDLog allows you to save all the HFSQL data files used by a WINDEV or WEBDEV application...
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.
fStopCompress (Function)
Stops the operation used to compress or decompress a file.
<zipArchive variable>.ExtractFileList (Function)
Extracts and decompresses a list of files found in an archive to a physical location.
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).
<zipArchive variable>.CreateExe (Function)
Creates a self-extracting archive as a 32-bit executable (.EXE).
zipAddFileList (Function)
Automatically adds and compresses a list of files into a ZIP, CAB, WDZ, 7z, TAR, gzip or TGZ (TAR.GZ) archive.
fCompress (Function)
Compresses a file.
Drag and Drop functions
The following functions are used to manage Drag and Drop:
HInfoReplica (Function)
Returns information about the specified replica.
<zipArchive variable>.OpenCAB (Function)
Opens an existing archive in CAB format.
Functions for managing TreeView controls (prefix syntax)
The following functions are used to manage TreeView controls (prefix syntax):
External components for different platforms
Components are a remarkably useful tool for development teams...
TreeView control functions
The following functions are used to manage TreeView controls:
Drag and Drop from the explorer
The Drag and Drop from the explorer consists in selecting one or more files in the Windows explorer and in transferring them into a control of a WINDEV window...
Drag and Drop
Drag and Drop is used to transfer data between several controls with the mouse. This data can be moved between several controls found in the same application or in different applications.
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.
SCM: Managing components
WINDEV, WEBDEV and WINDEV Mobile allow you to easily create and publish components...
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
Journalized replication: Programming journalized replication in WLanguage
Several WLanguage functions allow you to include log-based replication in your application and to customize it...
The TreeView control
The TreeView control is a tree structure used to simplify the display of information that can be represented hierarchically...
HCreateMovableReplica (Function)
Creates a movable replication.
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, ...
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.
WINDEV Mobile 2026: New WLanguage features
Version 2026 includes new and improved functions, properties and data types, ...
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.
Advanced types
The advanced types of WLanguage are as follows
2026 novelties brochure: WEBDEV novelties
WEBDEV 2026 new features in the 2026 New Features brochure.
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
1
2
3
4
5
>