You might want to use the "short file name" version of the path, which
is probably c:\progra~1\winzip\winzip32.exe. Open a DOS prompt and use
DIR /X to versify the short name.
(I'll also put in a plug for the the free, cross platform Info-Zip
utility, which provides source code and precompiled versions of a PKZip
compatible tool for lots of platforms. The basic utility is available as
a command line tool, which is what you want for scripting, with
different GUI utilities for different platforms. It's fast and powerful.
It's available from http://www.cdrom.com/pub/infozip/ . No support for
.gz format, unfortunately, but you produce .zip files on your server
with the Zip tool).
One of the standard Unzip parameters is -p, which extracts the file to a
pipe (defaults to stdout, afaik), and -c which extract to stdout. When
uses with Analog, Analog captures this output as though it was reading
the file from disk itself).
Aengus
______________________________ Reply Separator _________________________________
Subject: [analog-help] Unzipping .gz files
Author: [EMAIL PROTECTED] at Internet
Date: 6/17/99 9:40 AM
Hi-
I have a config file that includes the following commands:
UNCOMPRESS *.gz, *.z "c:\program files\winzip\winzip32.exe -cd" (I also
tried "c:\program files\gzip\gzip -cd")
LOGFILE *.gz
I'm using NT Server 4.0 with Analog 3.3/Win32. I need to have analog
unzip logfiles and then analyze them. The format of the logfile name
is: radsmile.monthdate.gz (ex: radsmile.Apr1.gz). When I manually
unzip the files, they are all named radsmile.tmp, and then I can rename
them and have them all in the same directory. Running analog now only
generates an empty report that shows the General Summary and 0
successful requests. I've looked through the readme and it says that a
path has to be given for analog to unzip the files, which was my reason
for trying winzip. I do not understand what it means by unzipping the
file to a standard output instead of a file. Is it not working because
all the unzipped files have the same name? If someone could please
explain this furthur I'd really appreciate it.
Thanks,
Jessica
------------------------------------------------------------------------
This is the analog-help mailing list. To unsubscribe from this
mailing list, send mail to [EMAIL PROTECTED]
with "unsubscribe analog-help" in the main BODY OF THE MESSAGE.
List archived at http://www.mail-archive.com/[email protected]/
------------------------------------------------------------------------
------------------------------------------------------------------------
This is the analog-help mailing list. To unsubscribe from this
mailing list, send mail to [EMAIL PROTECTED]
with "unsubscribe analog-help" in the main BODY OF THE MESSAGE.
List archived at http://www.mail-archive.com/[email protected]/
------------------------------------------------------------------------