home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Share Gallery 1
/
share_gal_1.zip
/
share_gal_1
/
UT
/
UT214.ZIP
/
SEBFU40.LZH
/
GETVER.DOC
< prev
next >
Wrap
Text File
|
1991-09-13
|
3KB
|
106 lines
G E T V E R Ver. 4.0
(C)1989,1990,1991 Scanlon Enterprises
GETVER is a small utility to get the current DOS version. GETVER
will either exit with an errorlevel equal to the major or minor
version, or exit setting an environment variable.
Syntax : GETVER MV
Where : 'M' requests GETVER to exit with an errorlevel equal to
the minor version.
'V' requests GETVER to exit setting a DOS environment
variable equal to the version (both major and minor)
Defaults: Errorlevel will be equal to Major version
Environment variable is always 'VER'
ERRORLEVELS: 255 (0FF) = Program Problem (call Author)
1-x = DOS version
EXAMPLES:
GETVER
Returns an errorlevel equal to the major DOS version.
GETVER M
Returns an errorlevel equal to the minor DOS version.
GETVER V
Returns the entire DOS version in the variable VER
** NOTE ** Major would return an errorlevel of 2 for DOS ver 2.x
Minor would return an errorlevel of 1 for DOS ver 2.1
For additional usage and information on using these utilities see
the file SEBFU.DOC or BATUT.DOC.
Page 1 of 2
G E T V E R Ver. 4.0
(C)1989,1990,1991 Scanlon Enterprises
O R D E R F O R M
GETVER registration ..................................... $1.00
What you get :
Unlimited usage of GETVER, and phone or write in support. You
will also be placed on our mailing list for future updates and
new products.
We are offering this utility seperate from SEBFU as a favor to
users who do NOT wish to use many of the SEBFU utilities.
This utility is automatically registered to you when you register
SEBFU as a product (see REG.DOC). Registering SEBFU as a product
is a better bargin, as each utility will cost less than $ .25
each.
Vendors:
You may distribute GETVER seperately, provided this document is
distributed as well. Any reasonable fee may be charged.
Send your order to : SCANLON ENTERPRISES
38354 17TH ST E.
PALMDALE, CA 93550