SC zip_extract overwrite option

Features wanted...
Post Reply
neil9090
Posts: 64
Joined: 28 Jun 2014 00:09

SC zip_extract overwrite option

Post by neil9090 »

One option missing from the script command is an overwrite parameter

i.e. if i download the XY portable via download "http://www.xyplorer.com/download/xyplor ... nstall.zip"
when extracting the files via a script it prompts to overwrite;

zip_extract(zipfile, path, [itemlist], [separator="|"], [overwrite]=0)
  • overwrite = 0 - user prompt (default behaviour)
    overwrite = 1 - always overwrite (no prompt)
    overwrite = 2 - overwrite only newer files (based on date comparison)
    overwrite = 3 - auto rename collision files (saves all files)
as a workaround I could delete the files in the temp folder before trying to extract but would be nice to have the option to overwrite

Post Reply