(view source code of winvercl.bat as plain text)
@ECHO OFF
SETLOCAL
VER
ECHO.
FOR /F "tokens=2*" %%A IN ('REG.EXE Query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion" /v ProductName') DO SET ProductName=%%B
FOR /F "tokens=2*" %%A IN ('REG.EXE Query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion" /v DisplayVersion') DO SET DisplayVersion=%%B
ECHO %ProductName% %DisplayVersion%
ENDLOCAL
page last modified: 2024-04-16; loaded in 0.0070 seconds