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
> .
>