viewpoint-particle

Author Topic: Unzip a gz-file  (Read 1892 times)

alruma

  • Newbie
  • *
  • Posts: 4
Unzip a gz-file
« on: July 24, 2014, 05:31:53 am »
Hello,
is it possible, to unzip a gz-file from Linux?
Best regards
Ruedi

Deana

  • Wilson WindowWare Tech Support
  • Pundit
  • *****
  • Posts: 1183
  • WinBatch® can do it.
    • WinBatch Tech Support Database
Re: Unzip a gz-file
« Reply #1 on: July 24, 2014, 08:07:01 am »
Unfortunately the Zipper Extender included with WinBatch does not support gzip files.

So you can either track down a 3rd party library to DllCall.

http://techsupt.winbatch.com/webcgi/webbatch.exe?techsupt/nftechsupt.web+WinBatch/Samples~from~Users+ZLIB~Compression~UDFs.txt
zlib1.dll can be located here:  http://www.gzip.org/zlib/

*OR*

Run a command line tool from your WinBatch script: http://www.gzip.org/
Deana F.
Technical Support
Wilson WindowWare Inc.

td

  • Tech Support
  • *****
  • Posts: 2624
    • WinBatch
Re: Unzip a gz-file
« Reply #2 on: July 24, 2014, 08:58:58 am »
The 7-zip compression utility is also a good choice and can be driven from a WinBatch script.  It has the advantage of supporting almost all commonly used compression formats including tarball acrhives.
"Success is a lousy teacher. It seduces smart people into thinking they can't lose."
  - Bill Gates