Microsoft DOS ver command
Displays the version of MS-DOS or, if running Windows 95 or above, the version of Windows.
Information about Windows versions can be found on our Windows version page.
The ver command is an internal command that is available in the below Microsoft operating systems.
Displays the MS-DOS version.
Displays what version of MS-DOS or Windows command prompt you're using. Below is an example of what you could expect to see if you used this command in Windows XP.
Microsoft Windows XP [Version 5.1.2600]