revZipRenameItem

Typecommand
DictionaryLCS
LibraryLiveCode Script
Syntax
revZipRenameItem <archiveName>, <itemName>, <newName>
Summary

Renames an item in a zip archive.

Introduced2.7.3
OSmac, windows, linux, ios, android
Platformsdesktop, server, mobile
Parameters
NameTypeDescription
archiveName

The absolute path to the zip archive to process.

itemName

The name of the item in the zip archive to rename.

newName

The new name to give the item. If the revZipRenameItem command encounters an error, then the result will be set to an error code beginning with "ziperr", otherwise the result will be empty.

Example
revZipRenameItem tArchive, "myZippedItem", "myNewZippedItem"
RelatedCommand: revZipDeleteItem, revZipOpenArchive
Securitydisk, network
Description

Use the revZipRenameItem command to change the name of an item in an open zip archive. The archive must have first been opened using the revZipOpenArchive command.

Tagstext processing