p7z_list

p7z_list returns a list of file names of a ZIP or 7z archive.

svFiles = p7z_list(ssZipFile)
svFiles = p7z_list(ssZipFile, svOptions)

Return Value

svFiles is a string vector with file names. In case of an error the function returns an error object (see error_create).

Parameters

ssZipFile

ssZipfile is the complete file name of the ZIP or 7z file.

svOptions

svOptions are extra parameters, e. g. “-pMyPassword” to set a password. See p7z_zip.

Comment

The function uses the “7-Zip Command Line Version”. The program (7za.exe), the license and the documentation (7-zip.chm) can be found in <uniplot>\program\7zip folder.

See also: http://en.wikipedia.org/wiki/7-Zip und http://www.7-zip.org/.

Example

svFiles = p7z_list("d:/test.zip", "-pGeheim");

History

Version Description
R2013.10 New.

id-1878867