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."

 

Reply via email to