by tcdrake <rymills@[EMAIL PROTECTED]
>
Mar 12, 2008 at 01:23 PM
On Mar 12, 3:04=A0pm, Ted Davis <tda...@[EMAIL PROTECTED]
> wrote:
> On Wed, 12 Mar 2008 12:46:29 -0700, tcdrake wrote:
>
> > I have run across something else I would like. I only need certain
files=
> > unzipped. I know in winzip I can call a list which has all the files I
> > want to unzip. The command for this is wzunzip.exe -e -s
20080307-5.zip
> > @[EMAIL PROTECTED]
c:\test\105. Any chance you can assist in adding this
feature?=
>
> Replace
> =A0 dir /b *.zip | awk -fscript_file.awk map_file.txt - > }{.cmd
> in the batch file with
> =A0 awk -fscript_file.awk map_file.txt filelist > }{.cmd
>
> All the DIR command did was to generate a list of all the .zip files -
if
> you already have a list of files to process, then that's not needed.
=A0Go=
od
> thing I wrote that script so it didn't care where its input came from.
>
> --
> T.E.D. (tda...@[EMAIL PROTECTED]
)
TED,
Thanks for the quick reply. I didn't make myself clear. You original
script is great and I really do appreciate it. The only change I need
is adding @[EMAIL PROTECTED]
to the end of each zip file. So the original code
is...
BEGIN{
UnZipCommand1 =3D "c:\\progra~1\\winzip\\wzunzip.exe -e -s "
UnZipCommand2 =3D " c:\\test\\"
I need to put in @[EMAIL PROTECTED]
after the zip name. So somehow getting to
look like this...
BEGIN{
UnZipCommand1 =3D "c:\\progra~1\\winzip\\wzunzip.exe -e -s
@[EMAIL PROTECTED]
"
UnZipCommand2 =3D " c:\\test\\"
So the output is 20080311-1.zip @[EMAIL PROTECTED]
This will allow me to only
unzip the files I need out of the zip. Make sense?