Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows 64 Bit > RE: vbs to test win version

Reply
Fix Vista Errors
Thread Tools Display Modes

RE: vbs to test win version

 
 
Carlos
Guest
Posts: n/a

 
      12-01-2009



Alain,
There's some interesting stuff here:
http://stackoverflow.com/questions/6...-bit-or-64-bit
Examples in Delphi and C# are given.
It seems that testing the presence of environment variable %ProgramW6432%
defines and x64 system.
If it ain't there, then it is an x86 OS.
Carlos

"Alain Bourgeois" wrote:

> Hi all,
>
> I have install scripts in that modify the sandbox mode of access 2007
> (registry key).
> However, the key to change is not the same in a windows 32bits and a
> windows 64bits.
> ( HKLM\Software\Microsoft\Office\12.0\Access Connectivity
> Engine\Engines] in win32 ->
> HKLM\Software\Wow\Microsoft\Office\12.0\Access Connectivity
> Engine\Engines] in win64 ).
>
> So my question: using vbs, how can I check if I am running win 32 or win
> 64?
> ver command line gives the same for both windows.
>
> Thank you,
> Alain
> .
>

 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Server2003 2008 error !! Meinolf Weber [MVP-DS] Active Directory 0 11-26-2009 02:37 PM
The local domain controller could not connect with - 2008 boe Active Directory 9 11-22-2009 02:05 AM
Re: Migration AD from win server 2000 to win server 2008 Meinolf Weber [MVP-DS] Server Migration 0 11-13-2009 10:48 AM
WMDC and Motorola Q (Verizon) Philip Bradford ActiveSync 11 03-04-2007 12:58 AM
Stop Error 0x0000007b Louis LeBrun Windows Vista Installation 17 07-05-2006 10:00 AM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59