.tar files and wzunzip - TechRepublic
Question
June 19, 2009 at 06:08 AM
bizzo

.tar files and wzunzip

by bizzo . Updated 17 years ago

I have a tar file that’s been created on an AIX box, it’s then FTP’d to a Windows 2000 Server. I now need to unpack this file via a script.

I currently have WinZip 9.0 SR-1 with the command line tools installed (wzcline 1.1).

Running the following command works fine for unpacking zips, but not tars:

“C:\PROGRAM FILES\WINZIP\WZUNZIP” -o %DESTFOLDER%\%FILE1% %DESTFOLDER%

It return the message:

End-of-central-directory signature not found. Either this file is not a Zip file, or it constitutes one disk of a multi-part Zip file.

WinZip GUI will unpack the file fine, but not via the commandline.

Am I doing something wrong?
Do I need another switch?
Does the commandline version not support tar files?

I’m thinking it’s (but hoping not) the latter, as I cannot find an option to create a tar file using the commandline either.

Any thoughts?

Thanks.

Edit. A little bump, just in case you guys missed it. 🙂

This discussion is locked

All Comments