[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: command.com versus cmd.exe
From: |
Kai Großjohann |
Subject: |
Re: command.com versus cmd.exe |
Date: |
Thu, 12 Sep 2002 15:55:10 +0200 |
User-agent: |
Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50 (i686-pc-linux-gnu) |
lawrence mitchell <wence@gmx.li> writes:
> Kai Grossjohann wrote:
>
> [...]
>
>> Ah, I didn't know about COMSPEC. I now use the following code to
>> initialize the variable:
>
>> (if (memq system-type '(windows-nt))
>> (getenv "COMSPEC")
>> "/bin/sh")
>
> How about (or (getenv "COMSPEC") "/bin/sh") ? Though I suppose
> somebody might have defined an environment variable named COMSPEC
> themselves.
That looks like a good idea.
kai
--
~/.signature is: umop 3p!sdn (Frank Nobis)
Re: command.com versus cmd.exe, Zhongtao Zhu, 2002/09/12
Message not available