Windows Vista Tips

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

Reply
Thread Tools Display Modes

Re: vbs to test win version

 
 
Charlie Russel - MVP
Guest
Posts: n/a

 
      12-01-2009
In PowerShell: $ENV:Processor_Architecture -eq "AMD64".
In CMD: "%Processor_Architecture%" == "AMD64"

In vbs? I have no idea. Don't use VBS. But given that it's right there in
the environment, I suspect you can get at it easily enough.

HTH
--
Charlie.
http://msmvps.com/blogs/russel




"Alain Bourgeois" <> wrote in message
news:...
> 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