I'm making some batch files to personalise my windows installations Welcome to Super User! Please note that Super User is not a script writing. Moin zusammen, ich muss in einem Batch -Script unterscheiden können, ob dieses auf einem XP- oder Win7-Rechner ausgeführt wird .. Habe. To find Windows OS version from command line we can use systeminfo command. A-Z Windows Commands, Batch files, Dos and PowerShell We can find Windows version, OS edition and service pack number using.
Bat win version - betrachtet
I will soon add a post on psexec. Run Windows Server specific commands here. Join Now or Log In. It's much easier and faster to get this information by only parsing the output of ver: This would return "Windows 7 Professional", "Windows Server R2 Standard", etc.
BATMAN vs DEADPOOL - Super Power Beat Down (Episode 8) If you are going to stick with the batch file route, I think that a WMI query will give you reliable results and requires less work to use the output in your GOTO logic. For W10 Spidersoliter like getting the whole version. I modified the command to look like this: Yerko Antonio 2 5 I don't use the Build value. If i could get the windows version into a variable i could build a conditional to take the right path. Creating your account only takes a few minutes.