Coding for All
Level 2: Which Version?
Which Version? Ask the machine what it is.

VER prints which version of MS-DOS the machine is running. Version 6.22, from 1994, was the last standalone MS-DOS, and it is the one this course pretends to be.

If you try VER in the Command Prompt on a Windows PC today you will get an answer too, because that prompt is MS-DOS's direct descendant. Quite a lot of what you learn here still works forty years on.

VERPrints the MS-DOS version.
DATEPrints the date the machine thinks it is.
Your task
  • โ—‹Ask the machine its version

Open this level in your browser to type the commands at a live terminal that answers back.