Ver (command)
In computing, ver
is a command in various DOS, OS/2 and Microsoft Windows command line interpreters (shells) such as COMMAND.COM
, cmd.exe
and 4DOS/4NT. It prints the name and version of the operating system or the command shell.
C:\Documents and Settings\User>ver
Microsoft Windows XP [Version 5.1.2600]
Some versions of MS-DOS support an undocumented /r switch, which will show the revision as well as the version. The command is also available in the open source MS-DOS emulator DOSBox.
Microsoft Windows also includes a GUI variant of the command called winver
, which shows the Service Pack installed (if any) as well as the version.
Windows also includes the setver
command that is used to set the version number that the MS-DOS subsystem (NTVDM) reports to a DOS program.
Version list
The following table lists version numbers from various operating systems:[1]
O/S Ver output Windows 95 4.00.950 Windows 95 OSR2 4.00.1111 Windows NT 4.0 4.00.1381 Windows 98 4.10.1998 Windows 98 SE 4.10.2222 Windows ME 4.90.3000 Windows 2000 5.00.2195 Windows XP 5.1.2600 Windows Server 2003 5.2.3790 Windows Vista
Windows Server 20086.0.6000 Windows Vista, SP2 6.0.6002 Windows 7
Windows Server 2008 R26.1.7600 Windows 7 SP1
Windows Server 2008 R2 SP16.1.7601 Windows 8
Windows Server 20126.2.9200 Windows 8.1
Windows Server 2012 R26.3.9600
See also
References
External links
- Microsoft TechNet Ver article
- How to determine what version of Windows you are running in a batch file
|