Open winzip with a file as agument
Moderators: JRL, Dorian (MJT support)
Open winzip with a file as agument
How can I open the winzip with a file
// C:\Program Files\MJT Net Ltd\Macro Scheduler\ACD300_1.scp
// Recorded on tirsdag, februar 24, 2004, at 08:54 AM
//Recorded Events
GetFileList>C:\Documents and Settings\SKN\Desktop\Test\*.*.Z,files
Separate>files,;,file_names
//MessageModal>Num Files: %file_names_count%
Let>k=0
Repeat>k
Let>k=k+1
// Message>file_names_%k%
Message>file_names_%k%
Let>filer='file_names_%k%'
Run Program>WINZIP32.EXE 'file_names_%k%'
WaitWindowOpen>WinZip
Press CTRL
Send Character/Text>a
Press Enter
Wait>300
CloseWindow>WinZip
Until>k,file_names_count
// C:\Program Files\MJT Net Ltd\Macro Scheduler\ACD300_1.scp
// Recorded on tirsdag, februar 24, 2004, at 08:54 AM
//Recorded Events
GetFileList>C:\Documents and Settings\SKN\Desktop\Test\*.*.Z,files
Separate>files,;,file_names
//MessageModal>Num Files: %file_names_count%
Let>k=0
Repeat>k
Let>k=k+1
// Message>file_names_%k%
Message>file_names_%k%
Let>filer='file_names_%k%'
Run Program>WINZIP32.EXE 'file_names_%k%'
WaitWindowOpen>WinZip
Press CTRL
Send Character/Text>a
Press Enter
Wait>300
CloseWindow>WinZip
Until>k,file_names_count
- Bob Hansen
- Automation Wizard
- Posts: 2475
- Joined: Tue Sep 24, 2002 3:47 am
- Location: Salem, New Hampshire, US
- Contact:
There is a command line utility available from WinZip.
I downloaded wzbetacl.exe on 5/22/03 from http://www.winzip.com/wzclineb.cgi. This was a version for use with WinZip, Beta Version 9.
There was a file WZCLINE.EXE for earlier versions of WinZip. This is from the imbedded ReadMe file:
===================================
WinZip(R) Command Line Support Add-On Version 1.0 (build 3181)
Copyright (C) 1991-2000 WinZip Computing, Inc.
All Rights Reserved
Thank you for your interest in the WinZip Command Line Support Add-On
This Add-On is covered by the license agreement below.
Full documentation is in the WZCLINE.HLP file.
*** Requirements ***
This WinZip Add-on requires WinZip 8.0 and Windows 95,98,
NT 4.0 or 2000.
*** Installation ***
Select Run from the Taskbar Start menu, type the full name of the
file (for example, C:\DNLOAD\WZCLINE.EXE), press the Enter key,
and follow the prompts.
================================
I downloaded wzbetacl.exe on 5/22/03 from http://www.winzip.com/wzclineb.cgi. This was a version for use with WinZip, Beta Version 9.
There was a file WZCLINE.EXE for earlier versions of WinZip. This is from the imbedded ReadMe file:
===================================
WinZip(R) Command Line Support Add-On Version 1.0 (build 3181)
Copyright (C) 1991-2000 WinZip Computing, Inc.
All Rights Reserved
Thank you for your interest in the WinZip Command Line Support Add-On
This Add-On is covered by the license agreement below.
Full documentation is in the WZCLINE.HLP file.
*** Requirements ***
This WinZip Add-on requires WinZip 8.0 and Windows 95,98,
NT 4.0 or 2000.
*** Installation ***
Select Run from the Taskbar Start menu, type the full name of the
file (for example, C:\DNLOAD\WZCLINE.EXE), press the Enter key,
and follow the prompts.
================================
Hope this was helpful..................good luck,
Bob
A humble man and PROUD of it!
Bob
A humble man and PROUD of it!
The native de/encryption tool is (still) Pkzip & Pkunzip: Download
which could be used with Macro Scheduler without any problem
Run Program> cmd /c pkzip ...
PKZIP for DOS
Will I be able to unzip a program with Winzip I zipped in PKZIP?
Assuming the file was zipped correctly any file with the .zip extension will be able to be pkunziped as will as unzipped in Winzip or any other compression utility that is able to read .zip extensions.
Check this listing of available switches used at the command line:
How do I ZIP files that are larger then one diskette onto multiple diskettes?
To do this you would use the following syntax:
pkzip [directory] [diskfilename] -&.
Example:
pkzip c:\windows\*.* a:\windows.zip -&.
The -& is the important part of the above line and is telling pkzip to place your files onto multiple disks.

Run Program> cmd /c pkzip ...
PKZIP for DOS
Will I be able to unzip a program with Winzip I zipped in PKZIP?
Assuming the file was zipped correctly any file with the .zip extension will be able to be pkunziped as will as unzipped in Winzip or any other compression utility that is able to read .zip extensions.
Check this listing of available switches used at the command line:
PKUNZIP (R) FAST! Extract Utility Version 2.04g 02-01-93
Corp. 1989-1993 PKWARE Inc. All Rights Reserved. Registered version
PKUNZIP Reg. U.S. Pat. and TM. Off.
-----
Usage: PKUNZIP [options] zipfile [@list] [files...]
-c[m] Extract files to Console [with More]
-d Restore/create Directory structure stored in .ZIP file
-e[c|d|e|n|p|r|s] Extract files. Sort by [CRC | Date | Extension | Name| Percentage | Reverse | Size]
-f Freshen files in destination directory
-j|J Mask|don't mask files (def.=jhrs)
-n Extract only Newer files.
-o Overwrite previously existing files.
-p[a/b][c][#] Extract to Printer [Asc mode,Bin mode,Com port] [port #]
-q Enable ANSI comments
-s[pwd] Decrypt with password [If no pwd is given, prompt for pwd]
-t Test .ZIP file integrity
-v[r][m][t] View .ZIP [Brief][Reverse][More][Technical] sort by [CR.|
[c,d,e,n,o,p,s] Date|Extension|Name|natural Order(default)|Percentage|Size]
-x Exclude file(s) from extraction
-$ Restore volume label on destination drive.
-@listfile Generate list file
How do I ZIP files that are larger then one diskette onto multiple diskettes?
To do this you would use the following syntax:
pkzip [directory] [diskfilename] -&.
Example:
pkzip c:\windows\*.* a:\windows.zip -&.
The -& is the important part of the above line and is telling pkzip to place your files onto multiple disks.
Try it but didden work
Is a unix file that is compress from unix
I got this error.
Zip file: 42010000.365.Z
End-of-central-directory signature not found. Either this file is not a Zip f
ile, or it constitutes one disk of a multi-part Zip file.
If select only one file and open it with winzip then it works.
I have to unzip 1600 file
I got this error.
Zip file: 42010000.365.Z
End-of-central-directory signature not found. Either this file is not a Zip f
ile, or it constitutes one disk of a multi-part Zip file.
If select only one file and open it with winzip then it works.
I have to unzip 1600 file

bob hansen wrote:There is a command line utility available from WinZip.
I downloaded wzbetacl.exe on 5/22/03 from http://www.winzip.com/wzclineb.cgi. This was a version for use with WinZip, Beta Version 9.
There was a file WZCLINE.EXE for earlier versions of WinZip. This is from the imbedded ReadMe file:
===================================
WinZip(R) Command Line Support Add-On Version 1.0 (build 3181)
Copyright (C) 1991-2000 WinZip Computing, Inc.
All Rights Reserved
Thank you for your interest in the WinZip Command Line Support Add-On
This Add-On is covered by the license agreement below.
Full documentation is in the WZCLINE.HLP file.
*** Requirements ***
This WinZip Add-on requires WinZip 8.0 and Windows 95,98,
NT 4.0 or 2000.
*** Installation ***
Select Run from the Taskbar Start menu, type the full name of the
file (for example, C:\DNLOAD\WZCLINE.EXE), press the Enter key,
and follow the prompts.
================================
GZip (don't work hard - work smart
)
- Compressing A File
- Decompressing A File
- Manual
- Download

- Compressing A File
- Decompressing A File
- Manual
- Download
"... complains about a multi-part gzip file ... " [read more]
"... and Winzip include the gzip compression code and can decompress .gz and tar.gz files..."
So, if it has worked with Winzip it should work with g(un)zip either.
"... and Winzip include the gzip compression code and can decompress .gz and tar.gz files..."
So, if it has worked with Winzip it should work with g(un)zip either.
If you want to automate WinZip it's much easier to first get the free WinZip command line extension so that you can run it like PKZIP from the command line. Then you don't have to automate it's GUI - just use Run> and the relevant command line switches and filenames. I believe there is an example at http://www.mjtnet.com/scripts.hts and get the command line extension at http://www.winzip.com
MJT Net Support
[email protected]
[email protected]
Well, the difference ...
)
WinZip is shareware
GZip is freeware
WinZip is assigned to a plattform
GZip is cross plattform
WinZip&AddOn needs drive space
GZip needs drive space too, but less
WinZip(&AddOn) needs an installation
GZip runs from scratch
So what ...?
GZip requires nothing (well, a commandlineThis WinZip Add-on requires WinZip 8.0 and Windows 95,98,
NT 4.0 or 2000.

WinZip is shareware
GZip is freeware
WinZip is assigned to a plattform
GZip is cross plattform
WinZip&AddOn needs drive space
GZip needs drive space too, but less
WinZip(&AddOn) needs an installation
GZip runs from scratch
So what ...?

- Bob Hansen
- Automation Wizard
- Posts: 2475
- Joined: Tue Sep 24, 2002 3:47 am
- Location: Salem, New Hampshire, US
- Contact:
support wrote:
Here is an example that runs weekly for me on WIN2K system:
I believe there is an example
Here is an example that runs weekly for me on WIN2K system:
This uses the command line utility. It unzips a password protected file that was downloaded from an FTP site.Run Program>cmd /c c:\program files\winzip\wzunzip -ybc -s%FTPPW% %ftpfilename3%.zip
Hope this was helpful..................good luck,
Bob
A humble man and PROUD of it!
Bob
A humble man and PROUD of it!
This is working
Now I make a test with gzip and this i working
Thanks
WinZip and PkZip did not work
Thanks

WinZip and PkZip did not work

Lumumba wrote:Well, the difference ...
GZip requires nothing (well, a commandlineThis WinZip Add-on requires WinZip 8.0 and Windows 95,98,
NT 4.0 or 2000.)
WinZip is shareware
GZip is freeware
WinZip is assigned to a plattform
GZip is cross plattform
WinZip&AddOn needs drive space
GZip needs drive space too, but less
WinZip(&AddOn) needs an installation
GZip runs from scratch
So what ...?