Windows – What command to use to unpack a .tar.gz file in Windows

command linegnuwin32gziptarwindows

I use to receive tar.gz files fromm colleagues but unpacking them with 7zip is not convenient as it unpacks a tar file from gz first while I usually seek to get the tar file contents (so I have to unpack the tar file explicitly next).

I've tried adding tar -zxvf %P%N command to Total Commander button bar but it turned that tar -zxvf doesn't work but returns the following error (tried it in bare command prompt):

tar: Cannot fork: Function not implemented
tar: Error is not recoverable: exiting now

I have got both GnuWin32 and cygwin installed, but I seek a solution that will work in Windows command line promt (and so will be callable from Totat Commander), not in cygwin command line promt.

Best Answer

To extract .tar and .tar.gz files on Windows 9x/NT/2000/ME/XP/Win7 use PowerArchiver 6.1 (freeware) or 7-zip (freeware) or Winzip (commercial).

CHECK THIS LINK FOR FURTHER INFORMATION