2

这是一个cmd.exe批处理文件及其运行结果:

@ECHO OFF
SETLOCAL
SET "w=&echo."
FOR /f "delims=" %%i IN (%~f0) DO ECHO(%%i
ver%w%
ECHO(%PATH:;=&ECHO(%%w%
DIR *.zip%w%
DIR /s \wzunzip.exe \wzcline*.dll%w%
wzunzip -v ancient%w%
wzunzip -v ancient.zip%w%
GOTO :EOF

运行结果:

Microsoft Windows [Version 6.1.7601]

C:\executable
C:\batch
C:\Windows
C:\Windows\SysWOW64
C:\Window s\system32
C:\Program Files\WinZip
C:\Program Files (x86)\Embarcadero\RAD Studio\9.0\bin64
C:\Program Files (x86)\Embarcadero\RAD Studio\9.0\bin
C:\FPC\2.6.2\bin\i386-win32
C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common
C:\Program Files (x86)\AMD APP\bin\x86_64
C:\Program Files (x86)\CollabNet
C:\Users\Public\Documents\RAD Studio\9.0\Bpl
C:\Users\Public\Documents\RAD Studio\9.0\Bpl\Win64
C:\Windows\System32\Wbem
c:\Program Files (x86)\Common Files\Acronis\SnapAPI\
c:\Program Files (x86)\Acronis\TrueImageHome\
C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static
C:\Program Files\TortoiseSVN\bin
C:\Program Files (x86)\RemObjects Software\Oxygene\bin
C:\Program Files (x86)\QuickTime\QTSystem\
C:\windows\System32\WindowsPowerShell\v1.0\
C:\opencobol\bin
C:\Program Files (x86)\OwlyCI

Volume in drive C has no label.
Volume Serial Number is 830B-46FA

Directory of c:\ttbackup\operational

20/04/2009 13:07 1,752,181 ancient.zip
1 File(s) 1,752,181 bytes
0 Dir(s) 129,259,110,400 bytes free

Volume in drive C has no label.
Volume Serial Number is 830B-46FA

Directory of c:\batch

15/07/2013 04:00 13,224 WZUNZIP.EXE
1 File(s) 13,224 bytes

Directory of c:\batchbackup

15/07/2013 04:00 13,224 WZUNZIP.EXE
1 File(s) 13,224 bytes

Directory of c:\Program Files\WinZip

15/07/2013 04:00 13,224 WZUNZIP.EXE

Directory of c:\Program Files\WinZip

15/07/2013 04:00 2,571,688 WZCLINE32.DLL
15/07/2013 04:00 3,084,200 WZCLINE64.DLL
3 File(s) 5,669,112 bytes

Directory of c:\Program Files (x86)\WinZip

15/07/2013 04:00 2,571,688 WZCLINE32.DLL
15/07/2013 04:00 3,084,200 WZCLINE64.DLL
2 File(s) 5,655,888 bytes

Directory of c:\Windows

15/07/2013 04:00 13,224 WZUNZIP.EXE

Directory of c:\Windows

15/07/2013 04:00 2,571,688 wzcline.dll
15/07/2013 04:00 2,571,688 WZCLINE32.DLL
15/07/2013 04:00 3,084,200 WZCLINE64.DLL
4 File(s) 8,240,800 bytes

Total Files Listed:
11 File(s) 19,592,248 bytes
0 Dir(s) 129,259,110,400 bytes free

WinZip(R) Command Line Support Add-On Version 4.0 32-bit (Build 10562)
Copyright (c) 1991-2013 WinZip International LLC - All Rights Reserved

ERROR: option v is unsupported
Program is terminating!

WinZip(R) Command Line Support Add-On Version 4.0 32-bit (Build 10562)
Copyright (c) 1991-2013 WinZip International LLC - All Rights Reserved

ERROR: option v is unsupported
Program is terminating!

翻译,这是 Win7 Home Premium,这是我PATH的 .zip 文件的目录,所有出现的WZUNZIP.EXE和的目录WZCL*.DLL

确实有一个旧版本WZCLINE.DLL,所以我用 32 位新版本覆盖了它。WZCLINE.DLL无论此文件是否存在,运行结果都不会改变。

显示了两次尝试列表的结果。

我确信这曾经适用于早期版本。它被记录为使用我拥有的版本(Winzip 17.5),但-v似乎没有根据文档处理开关的组合。

我已经尝试过-vand -V, -vb, -vr, -vi, -vm--vt所有这些都来自WZUNZIP.

可悲的是,在首先提出以下要求后,WINZIP 开始忽略我:

Please provide some additional information.

- Please describe the exact steps you take to cause this problem to occur.

- What version of Windows and of WinZip are you running (you can check the
· WinZip version by clicking WinZip's Help, About WinZip menu item)?

- Are there any error messages that appear? If so, please include the full
· text of the error message and the title of the error dialog box.

- Does the problem happen consistently, or does it appear to happen randomly?

- Does it happen with all files, some files, or one file in particular? If
· the problem happens with one file in particular, can you tell me how to
· obtain a copy of the file?

- Are there any other applications running when the problem occurs?

Please provide the screenshot of the error message you are getting. Please use the following link which will gives you more information in this issue: http://kb.winzip.com/kb/entry/21/

大部分信息都在我发送给他们的报告中,所以我真的不希望在那里获得有能力的支持。我能提供的唯一信息是

是的,在我尝试过的每个 .zip 文件中都会出现这种情况。- 指向、点击和傻笑版本解码这些文件没有问题。

不,系统上根本没有发生任何其他事情。

7zip 似乎愉快地列出了内容。

那么 - 任何人都可以用 WZUNZIP 解决这个错误?如何获取 .zip 文件的文件列表

4

1 回答 1

1

在浏览了无穷无尽的预设回复后,我终于与技术人员进行了交流。

这个问题被隔离到我改变了PATH序列,并且 WZUNZIP 在修改后的路径上定位了以前的 DLL,因此重新安装 CLI 插件无效。

卸载WINZIP,找到所有杂散WZ*元素并将其删除,重新安装并恢复理智。

(为了那些可能遇到类似问题的人而发布 - 显然有些人已经有了回应)

于 2014-03-05T03:23:10.643 回答