#127347 - 2004-10-03 09:19 PM
Re: checking folder
|
NTDOC
Administrator
   
Registered: 2000-07-28
Posts: 11629
Loc: CA
|
You need to build a list of the files you want to extract. Using simply the -e tells WinZip to extract all files.
From the manual
Quote:
-@listfile Create a file listing all the files that would be unzipped if this option were not specified. Hint: remember to use the leading dash to create a list. Leave out the leading dash to use a list of files in a WZUNZIP command.
Copyright © 2004 WinZip Computing, Inc. All rights reserved.
Notice though that KiXtart using the @ sign as well so you will need to double up to use the @ sign in your code. -@@
Give that a try and let us know how it goes. I see now that you're using the correct version of Command Line "WZUNZIP.EXE"
Quote:
Examples
wzunzip test.zip
Extracts all files from Test.zip to the current directory.
wzunzip test.zip abc.txt
Extracts abc.txt from test.zip.
wzunzip -d test.zip
Extracts all files from Test.zip, recreating the directory structure from folder information stored in the Zip file. New directories are created if necessary. Hint: if folder information is stored in the Zip file, you will almost always want to use the -d option.
wzunzip -d test.zip c:\docs\
Extracts all files from Test.zip, recreating the directory structure from folder information stored in the Zip file. The files are stored under C:\DOCS. For example, if the file One.doc has no folder information in the Zip file, it would be stored as C:\Docs\One.doc; if the file Two.doc is stored in the Zip file with the folder Budget\, it would be stored as C:\Docs\Budget\Two.doc.
wzunzip test.zip @files.lst
Extracts from test.zip all files that are listed in the text file files.lst.
wzunzip -v test.zip
Lists contents of Test.zip.
wzunzip -v test.zip *.txt
Lists all files with a .txt extension in test.zip.
Copyright © 2004 WinZip Computing, Inc. All rights reserved.
|
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
0 registered
and 405 anonymous users online.
|
|
|