I don't know how you would do it in Boston Workstation as I am still
brand new at it, but here is what I use in a different scripting
program.

 

"c:\Program Files\WinZip\wzzip.exe" -a -s% workingdir % -ycAES128
%delPDF% "% workingdir %\%now%%FileName" "%workingdir%\*.pdf"

 

This calls the command line executable with the parameters  that are
needed to zip and encrypt pdf files in a working directory.  By using
this I did not even have to call the WinZip Program.

 

The parameters and options are better explained by going to All
Programs>WinZip>Command Line Add-On Documentation>Contents
Tab>WZZIP>Using WZZIP & WZZIP Reference & Encrytion.

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Shirley Hammack
Sent: Thursday, May 15, 2008 7:16 AM
To: [email protected]
Subject: RE: [Talk] Winzip command line parameters

 

I have the dates working I need a shell statement that triggers Winzip
with the file names.

 

Shirley Hammack

I.T.  Financial Analyst

Duncan Regional Hospital

580-251-8939

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Anastasio, David
-PSC
Sent: Thursday, May 15, 2008 9:13 AM
To: [email protected]
Subject: RE: [Talk] Winzip command line parameters

 

This code is what I use to copy a file to a new folder and append the
date to the copy. You should be able to use the date logic in your task.

copy c:\dma_test\dma_test.txt
c:\dma_test\backup\dma_test%date:~10,4%%date:~4,2%%date:~7,2%.txt

 

Thank you,

David Anastasio

Data Reporting Services Specialist

perotsystems(tm)

Facility Information Services

Tenet St. Mary's Medical Center

[EMAIL PROTECTED]

561-882-6115 (office)

561-842-9921(fax)

________________________________

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Shirley Hammack
Sent: Thursday, May 15, 2008 9:57 AM
To: [EMAIL PROTECTED]
Subject: [Talk] Winzip command line parameters

 

We've just recently purchased Winzip 11.1 and installed the add on that
lets you use command line parameters to automate zipping of files.  I
intend to zip files that get a new name every day by having the date
appended.  Has anyone else been able to get the syntax put together to
do this?

 

Shirley Hammack

I.T.  Financial Analyst

Duncan Regional Hospital

580-251-8939

 

 


"CONFIDENTIALITY NOTICE: This e-mail and any files transmitted with it
are the property of DRH and/or its affiliates, are confidential, and are
intended solely for the use of the individual or entity to whom this
e-mail is addressed. If you are not one of the named recipient(s) or
otherwise have reason to believe that you have received this message in
error, please notify 580.251.8773 and delete this message immediately
from your computer. Any other use, retention, dissemination, forwarding,
printing, or copying of this e-mail is strictly prohibited."

 

 


"CONFIDENTIALITY NOTICE: This e-mail and any files transmitted with it
are the property of DRH and/or its affiliates, are confidential, and are
intended solely for the use of the individual or entity to whom this
e-mail is addressed. If you are not one of the named recipient(s) or
otherwise have reason to believe that you have received this message in
error, please notify 580.251.8773 and delete this message immediately
from your computer. Any other use, retention, dissemination, forwarding,
printing, or copying of this e-mail is strictly prohibited."

 

Reply via email to