ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / Archive functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Display only constants used by prefix syntaxes
ConstantDetailsUsed by
zipAdministratorForces the created executable file to run as administrator. This mode avoids file virtualization from Windows Vista.zipCreateExe
zipAnsiSaves ANSI file names in the Archive file.
This constant is used by default in applications using the ANSI standard.
zipCreate
zipCancelCancels the extraction of files from the archive.zipExtractFileList, zipExtractAll
zipCreateIfNotFoundCreates the archive if it does not exist.zipOpen
zipCurrentDirectoryAll files in the archive will be extracted to the current directory.zipCreateExe,
zipDefaultDirUses the default directory.zipCreateExe,
zipDirectoryStores the different directories that are part of the path, as well as the file name and extension. For example: \Directory\Files\FileName.pdf
Returns the different directories of the file (the file name and extension are not returned)
zipAddFile
zipAddDirectory
zipExtractPath
zipExtractFile
zipExtractAll
zipDriveStores the full and absolute path of the file (disk, directories, file name and extension). For example: C:\Directory\Files\FileName.pdf
This constant has no effect on the ZIP format.
Returns the unit name only.
zipAddFile
zipAddDirectory
zipExtractPath
zipExtractFile
zipExtractAll
New in SaaS
zipExe64
Creates a 64-bit self-extracting executable.zipCreateExe
zipExtensionReturns only the file extension (preceded by ".").zipExtractPath
zipFilenameReturns only the file name (without extension).zipExtractPath
zipFormat7Z7z archive file.zipArchive variable
zipFormatCABCAB archive file.zipArchive variable
zipFormatNoneNo archive file is created.hBackupDescription variable
zipFormatRARRAR archive file.zipArchive variable
zipFormatTARTAR format (decompressed archive file).zipArchive variable
zipFormatTARGZTARGZ archive file.zipArchive variable
zipFormatWDZWDZ archive file.zipArchive variable
zipFormatZIPZIP archive file.zipArchive variable
hBackupDescription variable
zipHeader64Allows you to create an archive larger than 4 GB on which zipChangePath can be used.zipCreate,
zipOpen,
zipOpenCAB,
zipOpenRAR
zipIgnoreIgnores file extraction with errors.zipExtractFileList, zipExtractAll
zipInMemoryEnables you to manipulate archives stored in memory (add files from a buffer or extract files to a buffer).zipAddFile, zipExtractFile
zipNoneStores the file name and extension. For example: FileName.pdf
Files are extracted to the current directory without restoring the tree structure.
zipAddFile
zipExtractFile
zipOverwriteDuring extraction, existing read-only files in the destination directory are automatically overwritten with the extracted files.zipExtractAll
zipReadOpens an archive in read-only mode.zipOpen
zipRelativeThe path passed as a parameter is considered the root of the archive. The stored path for all files and subdirectories is relative to this root.zipAddDirectory
zipRetryRetries the file extraction.zipExtractFileList, zipExtractAll
zipSelectRestorePathThe self-extractor shows the "Preserve tree structure" option in the dialog box.zipCreateExe
zipTempDirectoryThe archive files will be extracted to the temporary directory of the computer where the executable file is run. All files are extracted to the same location.zipCreateExe,
zipTreeThe files will be extracted while preserving the archive's directory structure.zipCreateExe
zipUncompressedThe contents of the archive will not be compressed.zipCreate
zipUnicodeSaves Unicode file names in the Archive file.
This constant is used by default in an application using Unicode.
zipCreate
zipWithUIThe self-extractor will display a dialog box allowing users to chose the destination directory.
Note: In previous versions, this constant corresponds to zipWithGUI.
zipCreateExe
zipWriteOpens an archive in read/write mode.zipOpen
ConstantDetailsUsed by
zipAdministratorForces the created executable file to run as administrator. This mode avoids file virtualization from Windows Vista.<zipArchive variable>.CreateExe
zipAnsiSaves ANSI file names in the Archive file.
This constant is used by default in applications using the ANSI standard.
<zipArchive variable>.Create
zipCancelCancels the extraction of files from the archive.<zipArchive variable>.ExtractFileList, <zipArchive variable>.ExtractAll
zipCreateIfNotFoundCreates the archive if it does not exist.<zipArchive variable>.Open
zipCurrentDirectoryAll files in the archive will be extracted to the current directory.<zipArchive variable>.CreateExe,
zipDefaultDirUses the default directory.<zipArchive variable>.CreateExe,
zipDirectoryStores the different directories that are part of the path, as well as the file name and extension. For example: \Directory\Files\FileName.pdf
Returns the different directories of the file (the file name and extension are not returned)
<zipArchive variable>.AddFile
<zipArchive variable>.AddDirectory
<zipArchive variable>.ExtractPath
<zipArchive variable>.ExtractFile
<zipArchive variable>.ExtractAll
zipDriveStores the full and absolute path of the file (disk, directories, file name and extension). For example: C:\Directory\Files\FileName.pdf
This constant has no effect on the ZIP format.
Returns the unit name only.
<zipArchive variable>.AddFile
<zipArchive variable>.AddDirectory
<zipArchive variable>.ExtractPath
<zipArchive variable>.ExtractFile
<zipArchive variable>.ExtractAll
New in SaaS
zipExe64
Creates a 64-bit self-extracting executable.<zipArchive variable>.CreateExe
zipExtensionReturns only the file extension (preceded by ".").<zipArchive variable>.ExtractPath
zipFilenameReturns only the file name (without extension).<zipArchive variable>.ExtractPath
zipFormat7Z7z archive file.zipArchive variable
zipFormatCABCAB archive file.zipArchive variable
zipFormatNoneNo archive file is created.hBackupDescription variable
zipFormatRARRAR archive file.zipArchive variable
zipFormatTARTAR format (decompressed archive file).zipArchive variable
zipFormatTARGZTARGZ archive file.zipArchive variable
zipFormatWDZWDZ archive file.zipArchive variable
zipFormatZIPZIP archive file.zipArchive variable
hBackupDescription variable
zipHeader64Allows you to create an archive larger than 4 GB on which zipChangePath can be used.<zipArchive variable>.Create,
<zipArchive variable>.Open,
<zipArchive variable>.OpenCAB (Function),
<zipArchive variable>.OpenRAR
zipIgnoreIgnores file extraction with errors.<zipArchive variable>.ExtractFileList, <zipArchive variable>.ExtractAll
zipInMemoryEnables you to manipulate archives stored in memory (add files from a buffer or extract files to a buffer).<zipArchive variable>.AddFile, <zipArchive variable>.ExtractFile
zipNoneStores the file name and extension. For example: FileName.pdf
Files are extracted to the current directory without restoring the file tree structure (if it was stored).
<zipArchive variable>.AddFile
<zipArchive variable>.ExtractFile
zipOverwriteDuring extraction, existing read-only files are automatically overwritten with the extracted files.<zipArchive variable>.ExtractAll
zipReadOpens an archive in read-only mode<zipArchive variable>.Open
zipRelativeThe path passed as a parameter is considered the root of the archive. The stored path for all files and subdirectories is relative to this root.<zipArchive variable>.AddDirectory
zipRetryRetries the file extraction.<zipArchive variable>.ExtractFileList, <zipArchive variable>.ExtractAll
zipSelectRestorePathThe self-extractor shows the "Preserve tree structure" option in the dialog box.<zipArchive variable>.CreateExe
zipTempDirectoryThe archive files will be extracted to the temporary directory of the computer where the executable file is run. All files are extracted to the same location.<zipArchive variable>.CreateExe,
zipTreeThe files will be extracted while preserving the archive's directory structure.<zipArchive variable>.CreateExe
zipUncompressedThe contents of the archive will not be compressed.<zipArchive variable>.Create
zipUnicodeSaves Unicode file names in the Archive file.
This constant is used by default in an application using Unicode.
<zipArchive variable>.Create
zipWithUIThe self-extractor will display a dialog box allowing users to chose the destination directory.
Note: In previous versions, this constant corresponds to zipWithGUI.
<zipArchive variable>.CreateExe
zipWriteOpens an archive in read/write mode.<zipArchive variable>.Open
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/28/2025

Send a report | Local help