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

[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 13:50:51 +0200
User-agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50 (i686-pc-linux-gnu)

Klaus Berndl <Klaus.Berndl@raibau.raiffeisen.at> writes:

> But it should not matter because i would recommend to check the
> environment-variable COMSPEC (which is set always be every windows system!),
> maybe like follows:

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")

Are there other values of system-type that I should check for?

kai
-- 
~/.signature is: umop 3p!sdn    (Frank Nobis)


reply via email to

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