GNU bug report logs - #4867
23.1; dired cannot find gunzip with Z; Windows

Previous Next

Package: emacs;

Reported by: "Xah Lee" <xah <at> xahlee.org>

Date: Wed, 4 Nov 2009 17:05:05 UTC

Severity: normal

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #10 received at 4867-done <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Xah Lee <xah <at> xahlee.org>, 4867-done <at> debbugs.gnu.org
Subject: Re: bug#4867: 23.1; dired cannot find gunzip with Z; Windows
Date: Thu, 05 Nov 2009 20:55:37 +0200
> From: "Xah Lee" <xah <at> xahlee.org>
> Date: Wed, 4 Nov 2009 08:56:09 -0800
> Cc: 
> 
> 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.

No, this error message comes from the OS, not from Emacs.  Windows
does not support invocation of Unixy shell scripts, and thus Emacs,
being a native Windows program that uses Windows APIs, cannot run
them.

To make this work, create a Windows batch file unzip.bat which invokes
gzip.exe with the -d switch.  Then Emacs will find it and do what you
want.

I'm closing this bug.



This bug report was last modified 15 years and 252 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.