[GnuWin32-Users] [gnuwin32 - Help] RE: how to use gunzip in "Gzip for Win...
Provides native Win32 open source ports and utilities
Brought to you by:
gnuwin32
From: SourceForge.net <no...@so...> - 2011-10-12 08:45:05
|
Read and respond to this message at: https://sourceforge.net/projects/gnuwin32/forums/forum/74807/topic/4752938 By: keithmarshall [quote]gunzip is a shell script in "Gzip for Windows".[/quote] As you note, it's a shell script requiring a POSIX shell, so can't be run directly from cmd.exe [quote]How do I use it?[/quote] If you're stuck with a brain-dead shell such as cmd.exe, you don't. However, read it to see what it does:-- 1) Ensure that the directory containing gzip.exe is in the PATH 2) Invoke 'gzip -d' with the original arguments passed to itself So, assuming you've already taken care of (1), just invoke 'gzip -d' yourself, instead of gunzip, (or write your own trivial gunzip.bat replacement for the POSIX shell script). [quote]Do I need to install some "Shell for Windows"?[/quote] If you're satisfied with running brain-dead cmd.exe, then "no"; if you prefer something more *nix-like... [quote]Where could I find it?[/quote] ...you might consider MSYS, (from MinGW.org), or Cygwin, (from cygwin.com). _____________________________________________________________________________________ You are receiving this email because you elected to monitor this topic or entire forum. To stop monitoring this topic visit: https://sourceforge.net/projects/gnuwin32/forums/forum/74807/topic/4752938/unmonitor To stop monitoring this forum visit: https://sourceforge.net/projects/gnuwin32/forums/forum/74807/unmonitor |