ver (command)
|
|
This article needs additional citations for verification. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed. (April 2008) |
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.
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.
Contents |
[edit] Examples
N.B. - Returned strings will vary with language, (e.g. Dutch will return 'Versie' rather than 'Version')
[edit] 4DOS
C:\JPSOFT\4DOS>ver
4DOS 7,50 DOS 5,50
[edit] OS/2
[C:\]ver
The Operating System/2 Version is 4.00
[C:\]ver /r
The Operating System/2 Version is 4.50 Revision 14.086
[edit] DOSBox
Z:\>ver
DOSBox version 0.72. Reported DOS version 5.0.
[edit] Windows NT
C:\WINNT\ver
Windows NT. Version 4.0
[edit] Windows 2000
C:\WINNT\ver
Microsoft Windows 2000 [Version 5.00.2195]
[edit] Windows XP
C:\>ver
Microsoft Windows XP [Version 5.1.2600]
[edit] Windows XP 64bit
C:\Users\root>ver
Microsoft Windows [Version 5.2.3790]
[edit] Windows Server 2003
C:\Users\root>ver
Microsoft Windows [Version 5.2.3790]
[edit] Windows Vista
C:\Users\root>ver
Microsoft Windows [Version 6.0.6001]
[edit] Windows Server 2008
C:\Users\root>ver
Microsoft Windows [Version 6.0.6002]
[edit] Windows Server 2008 R2
C:\Users>ver
Microsoft Windows [Version 6.1.7600]
[edit] Windows 7
C:\Users>ver
Microsoft Windows [Version 6.1.7600]
[edit] Windows 7 SP1
C:\Users>ver
Microsoft Windows [Version 6.1.7601]
[edit] See also
[edit] References
|
||||||||||||||||||||||||||||||||
| This operating system-related article is a stub. You can help Wikipedia by expanding it. |
| This Microsoft Windows article is a stub. You can help Wikipedia by expanding it. |