all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#6115: 64 bit windows environment variables
@ 2010-05-05 19:29 RICHARD M. HEIBERGER
  2010-05-06 10:23 ` Juanma Barranquero
  2010-05-06 13:16 ` Stefan Monnier
  0 siblings, 2 replies; 4+ messages in thread
From: RICHARD M. HEIBERGER @ 2010-05-05 19:29 UTC (permalink / raw)
  To: 6115; +Cc: ess-core

[-- Attachment #1: Type: text/plain, Size: 735 bytes --]

From the MS Windows 64 bit CMD window I get

c:\>echo %ProgramFiles(x86)%
C:\Program Files (x86)

c:\>echo %ProgramFiles%
C:\Program Files

c:\>echo %ProgramW6432%
C:\Program Files

From
GNU Emacs 23.1.97.1 (i386-mingw-nt6.1.7600) of 2010-05-04 on G41R2F1
I get
(getenv "ProgramFiles(x86)")
"C:\\Program Files (x86)"
(getenv "ProgramFiles")
"C:\\Program Files (x86)"
(getenv "ProgramW6432")
"C:\\Program Files"
In emacs, both the "ProgramFiles*" environment variables give the same
result.
I don't think that should be correct behavior.

Fortunately, Windows provides the ProgramW6432 environment variable.

What is the correct way in emacs to detect the two different locations in
which
Windows puts 32 bit and 64 bit programs?

Rich

[-- Attachment #2: Type: text/html, Size: 1152 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-05-10 11:43 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-05 19:29 bug#6115: 64 bit windows environment variables RICHARD M. HEIBERGER
2010-05-06 10:23 ` Juanma Barranquero
2010-05-06 13:16 ` Stefan Monnier
2010-05-10 11:43   ` Martin Maechler

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.