zip.RenameFile(id, idx, newname$[, t])
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().
The following tags are currently recognized by the optional table argument:
Encoding:
#ZIP_FL_ENC_UTF_8:
#ZIP_FL_ENC_CP437:
(V1.2)