WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

Zipper

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

Display Progress Bar While Zipping

Keywords: 	   zip progress bar

Question:

Is it possible to display some sort of progress bar while unzipping?

Answer:

I suppose its possible using a combination of the Zipper extender and the aStatusBar function in the Shell Operation Extender....
***UNDEBUGGED**



AddExtender("wwsop34i.DLL")
AddExtender("WWZIP34I.DLL")
numfiles = 79 
astatusbar(0,"Processing","this is the text",numfiles,0)

for xx = 1 to numfiles
	;In the following code, we first test for the existence of the archive
	;since it needs to preexist if we want to use the "g" (grow) option.  If
	;you're not using the "g" option, the archive will be created on the fly.
	;Options:
	;R=Recurse subdirectories option; g=allow appending to existing zip file

	xzipper=zZipFiles("g R", "myarchive.zip", onfile, "")
	timedelay(0.1)
	astatusbar(1,xx,"processing file number %xx% of numfiles",numfiles,xx)
next

Article ID:   W14813
File Created: 2001:11:08:12:40:08
Last Updated: 2001:11:08:12:40:08