|
|
|
|
|
<zipArchive>.SelectFile (Function) In french: <zipArchive>.SélectionFicher Selects files from an archive. The selected files will be processed by the archive management WLanguage functions.. This makes it possible to select only ".doc" files from an archive, for example. In this case, all the WLanguage functions used to handle the whole archive (e.g., <zipArchive variable>.ExtractAll) will only affect the selected files (".doc" files in our example). New in version 2025Archive is zipArchive
IF Archive.Open("C:\Archives\Archive.zip") = 0 THEN
sAncienneSélection is string = Archive.SelectFile("*.doc")
Archive.ExtractAll(zipDrive)
Archive.SelectFile(sAncienneSélection)
END
Syntax
<Result> = <Archive>.SelectFile([<Selection>])
<Result>: Character string Previous selection applied to the archive. <Archive>: zipArchive variable Name of a variable of type zipArchive corresponding to the archive to use. <Selection>: Optional character string Generic name of the files to be selected. Generic characters (* and?) are allowed. If this parameter is not specified or is set to an empty string (""), the selection will be removed and all files will be processed. Remarks Principle After calling the function <zipArchive>.SelectFile, the next archive management functions handling all the files in the archive will respect the selection: these functions will only handle the specified selection of files.. To handle all the files in the archive again, simply call <zipArchive>.SelectFile without specifying the <Selection> parameter.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|