Purpose:Add, update, or delete files in a .gz (GZIP) archive

 

Format:UNGZIP [/= /A:[[-][+]rhsdaecjot] /E /O /Q /V] [gziparchive] path

 

gziparchiveThe gzip file to work with
pathThe path where files will be extracted

 

/A:... (attribute switch)/Q(uiet)
/E(xtract)/V(iew)
/O(verwrite)

 

See also GZIP.

 

File Selection

 

Supports attribute switches, extended wildcards, ranges, multiple file names, and include lists.

 

File Completion Syntax:

 

The default filename completion syntax is: [1] dirs gz [2] dirs

 

Usage:

 

UNGZIP is compatible with the archives created by the Linux / UNIX gunzip utility, and supports RFC 1952.

 

You can specify a pathname for gziparchive. If you don't provide an extension, and the filename as entered doesn't exist, GZIP adds ".gz". If you don't specify an operation, UNGZIP will default to Extract.

 

Option:

 

/A:...Select only those files that have the specified attribute(s) set. See Attribute Switches for information on the attributes which can follow /A:. Do not use /A: with @file lists. See @file lists for details.

 

You can specify /A:= to display a dialog to help you set individual attributes.

 

/EExtract (default).

 

/OOverwrite existing files.

 

/QDon't display the filenames as they are extracted from the archive.

 

/VView the list of files in the zip file (date, time, and filename). Due to the limitations of the GZIP format, this can only display the first file in the archive. If the file was compressed with lzw, it will not have a header, so it cannot be viewed.

 

/=Display the UNGZIP command dialog to help you set the filename and command line options. The /= option can be anywhere on the line; additional options will set the appropriate fields in the command dialog.