Owning Palette: File I/O VIs and Functions
Use the Zip VIs to create new zip files, to add files to zip files, to unzip zip files, and to close zip files.
| Palette Object | Description |
|---|---|
| Add File to Zip | Adds the file source file path specifies to a zip file. The destination path in zip control specifies the zipped path information. |
| Close Zip File | Closes the zip file zip file in specifies. |
| New Zip File | Creates a new empty zip file in the path that target specifies. The new file overwrites an existing file or produces a confirmation dialog based on the value of the confirm overwrite? control. |
| Unzip | Unzips the contents of Zip file to the Target directory. Set Preview only? to TRUE to preview the list of files in Zip file before you unzip the zip file. This VI cannot unzip a zip file that is password protected. |
Refer to the Zip Tool VI in the labview\examples\file\Zip Tool.llb for an example of using the Zip VIs.