WinBatch® Technical Support Forum

All Things WinBatch => WinBatch => Topic started by: morenos1 on May 03, 2019, 03:04:20 PM

Title: zUnZipFiles
Post by: morenos1 on May 03, 2019, 03:04:20 PM
(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....
Title: Re: zUnZipFiles
Post by: td on May 03, 2019, 03:25:05 PM
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?
Title: Re: zUnZipFiles
Post by: morenos1 on May 07, 2019, 08:22:38 AM
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? ...
Title: Re: zUnZipFiles
Post by: morenos1 on May 07, 2019, 08:56:37 AM
"o" works.

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

Thanks....