From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Xah Lee Newsgroups: gmane.emacs.help Subject: Re: gunzip problem on Windows Date: Thu, 5 Nov 2009 11:38:17 -0800 (PST) Organization: http://groups.google.com Message-ID: <6c18b656-b0c1-4bca-8257-45c98dbee447@d5g2000yqm.googlegroups.com> References: <83my32b2cc.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1257459609 7144 80.91.229.12 (5 Nov 2009 22:20:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 5 Nov 2009 22:20:09 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Nov 05 23:20:02 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1N6AgS-0004KM-M1 for geh-help-gnu-emacs@m.gmane.org; Thu, 05 Nov 2009 23:20:00 +0100 Original-Received: from localhost ([127.0.0.1]:41317 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N6AgS-0000p5-0H for geh-help-gnu-emacs@m.gmane.org; Thu, 05 Nov 2009 17:20:00 -0500 Original-Path: news.stanford.edu!usenet.stanford.edu!postnews.google.com!d5g2000yqm.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 28 Original-NNTP-Posting-Host: 76.102.12.87 Original-X-Trace: posting.google.com 1257449897 1509 127.0.0.1 (5 Nov 2009 19:38:17 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Thu, 5 Nov 2009 19:38:17 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: d5g2000yqm.googlegroups.com; posting-host=76.102.12.87; posting-account=bRPKjQoAAACxZsR8_VPXCX27T2YcsyMA User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US) AppleWebKit/532.0 (KHTML, like Gecko) Chrome/3.0.195.27 Safari/532.0, gzip(gfe), gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:174441 X-Mailman-Approved-At: Thu, 05 Nov 2009 17:09:54 -0500 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:69523 Archived-At: On Nov 5, 6:26=A0am, Kevin Rodgers wrote: > Eli Zaretskii wrote: > >> From: Xah Lee > >> Date: Wed, 4 Nov 2009 08:32:36 -0800 (PST) > > >> when using emacs on Windows, when in dired, when i press Z on a file > >> that's gzip compressed, emacs tells me: > >> 'gunzip' is not recognized as an internal or external command, > > >> the problem is apparently that emacs won't recognize the gunzip shell > >> script without the exe suffix. (the gunzip is in the same dir as > >> gzip.exe) But if i rename gunzip to gunzip.exe, but Windows complain > >> that the file is not a exe format. > > >> How to solve this problem? > > > It might work to copy gzip.exe into gunzip.exe. > > > Failing that, create a batch file gunzip.bat that does the same as the > > shell script gunzip, and put it somewhere on your Path. > > Why not just rename the existing gunzip script to gunzip.bat? i tried that... then emacs tries to run the bash script as if it is a cmb.exe bat file... renaming it to gunzip.sh doesn't work neither... see my other msg. Xah