How to Determine Netware Version
Keywords: netware version n3version
Question:
What is the best way of determining the version of NetWare your server is you are logged into? Do we load both extenders and then use the nXVersion() function? Will the function return a specific error code or will it fail if the server is a NetWare 4.x server and the function used is n3Version()?Answer:
Apparently the API call for NetWare versions is the same on both versions of NetWare. Load both extenders for NetWare 3.x and 4.x. and then execute the n3ServerInfo() function on the Novell server to able to see the version of the server properly. Use the version 3 because it is the least common denominator.The following script determines the version of the NetWare Client installed on a Win95 PC.
; Get users name from environment. This is set by Novell NetWare username=Environment("username") username=StrUpper(username) ; Read Registry to find out NetWare Client Version regkey = RegOpenKey(@REGMACHINE, "Network\Novell\System Config\Install\Client Version") majorver=RegQueryValue(regkey, "[Major Version]") minorver=RegQueryValue(regkey, "[Minor Version]") revision=RegQueryValue(regkey, "[Revision]") level=RegQueryValue(regkey, "[Level]") nwclientver=Strcat(majorver,".",minorver,".",revision,".",level)
Article ID: W13590Filename: Detect Netware Version.txt