set "windows="
VER | find " 5.1." > nul && set windows=XP
VER | find " 5.2." > nul && set windows=XP 64-Bit or Server 2003 or Server 2003 R2
VER | find " 6.0." > nul && set windows=Vista or server 2008
VER | find " 6.1." > nul && set windows=Win7 or server 2008 R2
VER | find " 6.2." > nul && set windows=Windows 8
VER | find " 6.3." > nul && set windows=Server 2012 R2 or Windows 8.1
这里你看到6.3是windows 8.1 但Windows 10的数量是多少? 似乎无法找到它。
答案 0 :(得分:1)
Windows 10 RTM是10.0.10240。另请参阅https://en.wikipedia.org/wiki/Ver_(command)
答案 1 :(得分:0)
显然,版本10.0,虽然早期的版本报告为版本6.4