DOSVER v1.02 - Returns DOS version and/or revision as an errorlevel.
====================================================================
Written by Robert B. Clark <rclark@iquest.net>
Copyright (c) 1997 ClarkWehyr Enterprises.  All rights reserved.

This program is FREEWARE.


Type DOSVER /? to see a summary of the command line switches.

To get the DOS version, use

        DOSVER /V       --> returns 0..7 (so far)

To get the DOS revision (minor version), use

        DOSVER /R       --> returns 0..22 (so far)

To get both (modulo 256), use

        DOSVER          --> returns 0..255
                            (version * 100 + revision) mod 256

Use the /Q switch to prevent DOSVER from writing anything to the screen.

Example Usage:
==============
You wish to capture a printer port to a NetWare print server for DOS
clients, but you do not want to do so for your Windows 95 users, who are
using Microsoft File and Printer Sharing to share printers.

In your system login script, use code like this:

    #dosver -v -q
    if ERROR_LEVEL < "6" then begin
        #capture j=default L=1
    end

Only clients using versions of DOS earlier than v7.0 will have LPT1:
captured to a NetWare print server.

---
Last updated: 4 Nov 1997 by Robert B. Clark
