zUnZipFiles

Started by morenos1, May 03, 2019, 03:04:20 PM

Previous topic - Next topic

morenos1

(zUnZipFiles function). If files exist in the target directory (flag=o), a pop-up window appears where I need to click "OK" to continue.

Any way to suppress that?

Thanks....

td

Have never had the problem.  What type of "pop-up window" are you referring too?  Is it a system window, an Explorer window, or something WinBatch regurgitated?
"No one who sees a peregrine falcon fly can ever forget the beauty and thrill of that flight."
  - Dr. Tom Cade

morenos1

Found it was me.

However I can not seem to be able to overwrite newer target files:

result = zUnZipFiles("u o", zip_file_name, include_files, exclude_files, target_dir)
(344) VALUE STRING => "0   Target file newer.  Skipping C:\LexisNexis Risk Solutions\AVRS Client\Database/ILClient.mdf   Target file newer.  Skipping C:\LexisNexis Risk Solutions\AVRS Client\Database/ILClient_1.LDF   caution: excluded filename not matched:  *.zip   "

Are the flags "u o" supposed to force the overwrite? ...

morenos1

"o" works.

result = zUnZipFiles("o", zip_file_name, include_files, exclude_files, target_dir)

Thanks....