how to get windows version code example Example: check windows version winkey + R to open run and put "winver"