PC Review


Reply
Thread Tools Rate Thread

Automate Zipping of All Files in a Certain Directory Between Specific Dates

 
 
basis_consultant@hotmail.com
Guest
Posts: n/a
 
      1st Nov 2007
Hi,

On XP, I am looking to create a Windows *.cmd file to automate a
procedure that
consists of zipping all of the files in a certain directory which were
created between
2 specific dates. (Should I posting this question to a different
group; If so, which
one(s))

Thus, the procedure would be something along the lines of:

Input#1: Filename of Zip File to be Created (Say, "C:\zips
\SystemA_Feb1_Feb8_2007".
Input #2: Filename In Which Files that are to be zipped reside (Say, C:
\Logs\SystemA)
Input #3: Dates of Files to be Zipped (Say, Feb1 to Feb8 Inclusive).

In this case, this would create a zip file of the Feb1 to Feb8 logs in
the
c:\Logs\SystemA directory.

Can this be done with WinZip Pro? If so, does anybody have a sample
script,
or can anybody provide the link for a sample script?



Thanks,
DF

 
Reply With Quote
 
 
 
 
DL
Guest
Posts: n/a
 
      1st Nov 2007
I used to use winzip, 'command line' interface and I'm fairly certain it
will zip files between specified dates & located the result where you
specify.
The problem might be if you wish to keep amending dates.
I am however 'dredgeing' my memory
Doesnt Winzip Pro have a web site / tech Q's?


<(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi,
>
> On XP, I am looking to create a Windows *.cmd file to automate a
> procedure that
> consists of zipping all of the files in a certain directory which were
> created between
> 2 specific dates. (Should I posting this question to a different
> group; If so, which
> one(s))
>
> Thus, the procedure would be something along the lines of:
>
> Input#1: Filename of Zip File to be Created (Say, "C:\zips
> \SystemA_Feb1_Feb8_2007".
> Input #2: Filename In Which Files that are to be zipped reside (Say, C:
> \Logs\SystemA)
> Input #3: Dates of Files to be Zipped (Say, Feb1 to Feb8 Inclusive).
>
> In this case, this would create a zip file of the Feb1 to Feb8 logs in
> the
> c:\Logs\SystemA directory.
>
> Can this be done with WinZip Pro? If so, does anybody have a sample
> script,
> or can anybody provide the link for a sample script?
>
>
>
> Thanks,
> DF
>



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Zipping and streaming directory structure to client without temp files Søren M. Olesen Microsoft Dot NET Framework 2 19th Oct 2005 07:57 AM
Copy all files and sub-directory under a specific directory Phil Microsoft Access 1 20th Dec 2003 11:06 AM
Open files from specific directory John Rawlins Microsoft Excel Programming 1 16th Oct 2003 04:03 PM
Number of Specific Files in A Directory Amy L. Microsoft Dot NET 2 8th Sep 2003 10:31 AM
Number of Specific Files in A Directory Amy L. Microsoft C# .NET 2 8th Sep 2003 10:31 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:23 AM.