VBScript
VBScript
UnGzip .tgz to get a .tar
See more Tar Archive Examples
A .tgz is simply a TAR archive compressed using GZip. It is also commonly referred to as a .tar.gz. Chilkat GZip can be used to ungzip to get an uncompressed .tar.Chilkat VBScript Downloads
Dim fso, outFile
Set fso = CreateObject("Scripting.FileSystemObject")
'Create a Unicode (utf-16) output text file.
Set outFile = fso.CreateTextFile("output.txt", True, True)
success = 0
set gzip = CreateObject("Chilkat.Gzip")
success = gzip.UncompressFile("qa_data/tar/test.tgz","qa_output/test.tar")
If (success <> 1) Then
outFile.WriteLine(gzip.LastErrorText)
Else
outFile.WriteLine("success.")
End If
outFile.Close