Winzip doesn't like us, and we don't like it. We have a batch script that calls wzunzip.exe to unzip large files for Mercator to pick up. Unforutnatly, wzunzip is too slow unzipping and trips a double trigger flag "source not available" because the file is locked until all files are unzipped.
Here is the basic script called from the output batch adapter:
wzunzip %1 E:\EC\Appdata\ChoicePoint_PoliceRepts\
Basically, it grabs the *.zip, unzips it and places it in the folder above.
My goal is to have the file saved as a temp extension then until it is complete, then rename it. I succeeded with the same issue with gpg.exe. Originally, it was:
gpg -e -r xxkeyxxx %1
and I modified it to be:
gpg -o "%~dpn1.tmp" -e -r xxkeyxxx "%~f1"
ren %~dpn1.tmp %~n1.gpg
This saved it to a temp extension, then renamed it when it was done. I just can't figure out how to do it with unzip. Any ideas? Cliff notes for my question?
Here is the basic script called from the output batch adapter:
wzunzip %1 E:\EC\Appdata\ChoicePoint_PoliceRepts\
Basically, it grabs the *.zip, unzips it and places it in the folder above.
My goal is to have the file saved as a temp extension then until it is complete, then rename it. I succeeded with the same issue with gpg.exe. Originally, it was:
gpg -e -r xxkeyxxx %1
and I modified it to be:
gpg -o "%~dpn1.tmp" -e -r xxkeyxxx "%~f1"
ren %~dpn1.tmp %~n1.gpg
This saved it to a temp extension, then renamed it when it was done. I just can't figure out how to do it with unzip. Any ideas? Cliff notes for my question?