I have written a small program in vb6 which calls wzunzip in shell command to unzip file to specific location. Everything runs fine as long as the zip is in tact. I am trying to take into consideration if the zip file is bad, how to determine that before my process continues.
Does anyone know how to retrieve and decipher the return code after the shell command calling WZUNZIP to determine if it is a bad zip or not. I prefer to use wzunzip and not have to change the compression tool mid stream. It has a switch (-t) to test the zip but I don't know what value it returns to decipher the results.
Any help is appreciated.