Wednesday, October 24, 2012

Re: How to check for $ProgramFiles(x86) ?

What your doing I would think would work, but check in the system applet in control panel. 

On Wed, Oct 24, 2012 at 3:25 PM, Timothy Madden <terminatorul@gmail.com> wrote:
Hello

I am trying to see if the current system is 32-bit or 64-bit Windows. On 64-bit Windows the environment variable $ProgramFiles(x86) is known to exits, but Vim will just check for $ProgramFiles and the appendthe '(x86)' part. Is there a way to check if the environment variable $ProgramFiles(x86) exists in the current environment ?

I tried both expand('$ProgramFiles(x86)') and exists('$ProgramFiles(x86)'), both of them check the '$ProgamFiles' part only.

Thank you,
Timothy Madden

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php



--

Gerald Klein DBA

ContactMe@geraldklein.com

www.geraldklein.com

geraldklein.wordpress.com

jk@zognet.com

708-599-0352


Arch Awesome, Ranger & Vim the coding triple threat.

Linux registered user #548580 



--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: