Command unzipfile

The command unzipfile is used to uncompress a file compressed in the zip format.

Parameters

  1. filename [string]
    Name of the zip file stored on the device.
  2. variablereturn [integer]
    Return of the command, where:
    • 0: File successfully uncompressed
    • -1: Error during decompression

Example


In the example above, the command unzipfile was used to decompress a file called test.zip, that is stored on the device memory. After that the command inttostring is used to convert and display the variable using the command display.