Advertisement
FreeBooter

DontRunMe

Sep 27th, 2018
529
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.59 KB | None | 0 0
  1. @Echo Off & Cls
  2.  
  3. For /F "Tokens=*" %%A In ('systeminfo') Do (
  4.  
  5. @Echo %%A | Find /I "Description"
  6.  
  7. @Echo %%A | Find /I "Version"
  8.  
  9. @Echo %%A | Find /I "System Type"
  10.  
  11. @Echo %%A | Find /I "System Locale"
  12.  
  13. @Echo %%A | Find /I "Input Locale"
  14.  
  15. @Echo %%A | Find /I "Time Zone"
  16. )
  17. Echo.
  18. Echo.
  19.  
  20.  
  21.  
  22.  
  23. For /F %%B In ('wmic Os Get /Format:List ^| Find /I "Osarchitecture"') Do (Set Output=%%B)
  24.  
  25. For /F "Tokens=*" %%C In ('Systeminfo ^| Find /I "OS Name"') Do (Set OsName=%%C)
  26.  
  27. If "%Output:~15,21%"=="64-bit" (Echo %OsName:~12,60% 64-bit) Else (Echo %OsName:~12,60% 32-Bit)
  28.  
  29. Pause >nul
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement