HTFC Forums

H.T.F.C.

How To Fix Computers





Go Back   HTFC Forums > Software Newsgroups > Windows XP

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1  
Old 11-01-2007, 07:48 PM
basis_consultant@hotmail.com
 
Posts: n/a
Default Automate Zipping of All Files in a Certain Directory Between Specific Dates

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
Sponsored Links
  #2  
Old 11-01-2007, 11:18 PM
DL
 
Posts: n/a
Default Re: Automate Zipping of All Files in a Certain Directory Between Specific Dates

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?


<basis_consultant@hotmail.com> wrote in message
news:1193942922.194961.262590@z9g2000hsf.googlegro ups.com...
> 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
Sponsored Links
Fix your Windows Problems - FAST.
FREE Safe Scan Registry Check. Locate & Fix Errors in Minutes!
Reply


Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Unrar with options that keep directory structure and dates intact? Sacred Fury Windows XP 1 09-15-2007 08:31 AM
Set all directories a specific parent directory to default to thumbnail view ajkessel Windows XP 3 08-21-2007 01:18 AM
Would like to write batch file to copy all TXT files in a given directory and all subdirectories to a single target directory. Rob Windows XP 5 08-20-2007 02:42 PM
Zipping files in Windows XP Bible John Windows XP 10 04-28-2007 05:01 PM
Offline Files for specific directory cannot be disabled. Alex Sansevieri XP Networking 0 05-24-2004 09:26 AM


All times are GMT. The time now is 09:09 AM.


Powered by vBulletin® Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0
© 2004 - 2007 Web-S-Sense Pty. Ltd. Usenet and forums posts © their respective authors.
Ad Management by RedTyger