Example Code

LabVIEW - Extract and Delete .ZIP Files

Code and Documents

Attachment

Download All

Overview

This example VI demonstrates the method to extract .zip files and then delete them.

 

Description

This example will search a directory for .zip files, extract them (if not already extracted) and then optionally remove the .zip files.  This example will only target .zip files however it has not been fully tested (and deletes files on your machine) - so please be aware of this when using the example.

 

Requirements

  • LabVIEW 2012 (or compatible)

 

Steps to Implement or Execute Code

  1. Download the attachment to your computer.
  2. Open the project “Zip Tidy 2012 NI Verified.lvproj”.
  3. Open the VI "Zip Tidy.vi".
  4. Input a file path.
  5. Run the VI.

 

Additional Information or References
VI Block Diagram of "Zip Tidy.vi"

 Block Diagram.png

 

 **This document has been updated to meet the current required format for the NI Code Exchange.**

 


Regards,

Peter D

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.