Hi, can anybody tell me how to write a java program that can control winzip? That is the java program call the winzip, then the winzip will unzip all the files. If can, show me an example. Thanx in advance!
I don't think WinZip has a command-line interface, so I don't think it can be controlled from Java. If it does have a command-line component, then you can use the Runtime.exec() family of methods to launch it. But as Pradeep points out, you can unzip ZIP files directly from Java using the java.util.zip package.