ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / Archive functions
  • Number of files found in an archive
zipNbFile (Example)
Number of files found in an archive
WINDEVJava The following code is used to find out the number of files found in an archive.
// Declare and initialize the variables
ResArchiveCreation is int
NumberFiles is int
 
// Create an archive
ResArchiveCreation = zipCreate("MyArchive", "C:\MyArchives\Archive.zip")
...
// Number of files found in this archive
NumberFiles = zipNbFile("MyArchive")
Info(NumberFiles + "files found in this archive")
...
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help