Command: version

  VERSION tells FreeDOS what version of DOS to report.
  VERSION is a CONFIG.SYS / FDCONFIG.SYS command.

Syntax:

  version=x.yy
    Where x and y are numbers (they each can have one or more digits).
    The default value is 7.10.

Options:

  - none -

Comments:

  VERSION is a FreeDOS specific command to specify what DOS version to
  report. For a kernel with FAT32 support, 7.10 is a good choice.
  Otherwise, 5.0 and 6.22 are common values. FreeCOM COMMAND.COM
  'VER /R' displays both the reported and the FreeDOS internal version
  numbers. VERSION does not change the FreeCOM version number as reported
  by running 'ver'.
  However, the DOS version number is changed, as reported in 'VER /R'.
  VERSION is needed to make some old DOS programs think that it works
  with the correct DOS version. Tests showed that it is NOT overridden
  by CALLVER.
  VERSION is a command internal to kernel.sys and needs no other file
  in order to work.

Examples:

  IN CONFIG.SYS / FDCONFIG.SYS:
    version=6.22

  IN COMMAND LINE:
    ver /r       Shows FreeCOM AND KERNEL version AND DOS version 6.22.
    callver 9.99 Shows version 9.99, but:
    ver /r       Still shows version 6.22

See also:

  callver
  config.sys/fdconfig.sys
 (setver)
  ver

  Copyright © 1998 Jim Hall, updated 2011 and 2022 by W. Spiegl.

  This file is derived from the FreeDOS Spec Command HOWTO.
  See the file H2Cpying for copying conditions.