Jump to content

How to test for SSE2 capable CPU and Intel Chipset


Recommended Posts

I believe the last findstr sets errorlevel to 1 if the string is found. I'm not really sure if it returns errorlevel 0,

No, it returns 0 if the string is found and 1 if it is not found. That is not the problem. I can see the errorlevel when I echo it. That works properly. The problem lies within the if command.

If I check for errorlevel 0 instead of 1 then it will always jump to the same branch regardless of the errorlevel. If I check for errorlevel 1 it works.

Bye,

Alex

Link to comment
Share on other sites


Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...