help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gunzip problem on Windows


From: Andreas Politz
Subject: Re: gunzip problem on Windows
Date: Wed, 04 Nov 2009 18:34:55 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

Xah Lee <address@hidden> writes:

> 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?

Maybe install a bourne shell.

$ cat gunzip

#!/bin/sh
PATH=${GZIP_BINDIR-'/bin'}:$PATH
exec gzip -d "$@"

-ap





reply via email to

[Prev in Thread] Current Thread [Next in Thread]