Forums before death by AOL, social media and spammers... "We can't have nice things"
|    alt.msdos.batch.nt    |    Fun with Windows NT batch files    |    68,980 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 67,190 of 68,980    |
|    JJ to All    |
|    Re: Is batch file called from 32 or 64 c    |
|    21 Apr 18 22:07:58    |
   
   From: jj4public@vfemail.net   
      
   On Sat, 21 Apr 2018 21:12:26 +0700, JJ wrote:   
   >   
   > On 64-bit Windows XP, Intel x86-64 is detected as EM64T. Because there's no   
   > Intel x86-64 at the time Windows XP x64 is released.   
      
   This can be checked using the VendorIdentifier registry value. e.g.   
      
   @echo off   
   setlocal   
   set "cmd=reg Query "HKLM\Hardware\Description\System\CentralProcessor\0" ^|   
   find "VendorIdentifier""   
   set id=   
   for /f "tokens=3" %%A in ('%cmd%') do set "id=%%A"   
   echo Vendor ID: %id%   
   if "%id%" == "GenuineIntel" (   
    set brand=Intel   
   ) else if "%id%" == "AuthenticAMD" (   
    set brand=AMD   
   ) else if "%id%" == "VIA VIA VIA " (   
    set brand=VIA   
   ) else (   
    set brand=(Unknown)   
   )   
   echo Brand: %brand%   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca