Sign up ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

How to get which SSE (SSE3/SSE4.1/SSE4.2) is supporting by my CPU on windows using a batch script.

on Ubuntu we can get it using below command and parse it for required string sse4_2 or sse4_1.

RESP=$(head /proc/cpuinfo -n30)
share|improve this question

migrated from Apr 30 '13 at 14:37

This question came from our site for professional programmers interested in conceptual questions about software development.

This is unlikely going to be possible with a simple batch program but… and… might be useful. The example code will compile by using the GCC compiler. –  Ramhound Apr 30 '13 at 16:38

1 Answer 1

I don't think even WMI exposes this particular bit of information, otherwise what you want could have probably been accomplished using PowerShell (which could have been invoked from a batch file). I guess using third-party programs written using C/Assembly etc. is the only possible solution.

I recommend CHKCPU (CPU Identification Utility). Invoke it using chkcpu32 /v and you'll see output similar to the following:

If you want, in your batch file you can pipe the output of the program to find/findstr and check which SSE version string is included.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.