Name
zip.RenameFile -- rename file in zip archive
Synopsis
zip.RenameFile(id, idx, newname$)
Function
This function renames the file at index idx in the zip archive specified by id to the name passed in the newname$ parameter.

If you need to rename a directory entry, newname$ must end on a trailing slash character. See Zip archive basics for details.

Note that the change to the zip archive isn't done immediately but is postponed until you call zip.CloseArchive().

Inputs
id
identifier of the zip archive to use
idx
file to rename
newname$
new name for file

Show TOC