User Guide

140 Other Installation Options
Other Installation Options
103-000143-001
August 30, 2001
Novell Confidential
Manual 99a38 July 17, 2001
The variable version contain the string “v2.11”. ExtractVersionNumbers
returns a value of 2 in the variable major, a value of 11 in the variable minor.
And a value of 0 in the variable revision.
FileVersion
Syntax
FileVersion <src var name>, <src file spec>, <src vol name>,
<src descr>, <Module major number>, <Module minor number>,
<Module rev number>, <Module description>, <return code>
Description
FileVersion returns the major, minor, and revision numbers as well as the
description string of the NetWare Loadable Module (NLM, HAM, CDM,
LAN, etc.) as long as the return code is 0.
IMPORTANT: This works only for NetWare Loadable Modules ( that is, it does not
work with .EXE or .DLL files, etc.).
Example
GetPath1, 1, 'SYS:\\SYSTEM’
File Version path1, ‘DS.NLM’, ‘’,’’, DSMajor, DSMinor,
DSRev, DSDesc, DSCode
GetDOSServer
Syntax
GetDOSServer <var name>
Description
GetDOSServer returns the default DOS server number in <var name> on
SFT* III servers.
Example
GetDOSServer DOSServer
The value of the variable DOSServer will be either 0 or 1. If the value is
anything else, the server is not running SFT III.