<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>
Date   : Sat, 23 Sep 2006 23:01:46 +0100
From   : jgh@... (Jonathan Graham Harston)
Subject: File server version string

Could people who have a file server run the following bit of code
and tell me what it reports:
 
----8<----
DIM X% 127:Y%=X%DIV256
A%=FNNetFS_Op(25, "")
PRINT """"$(X%+4)""""
END
:
DEFFNNetFS_Op(A%,A$):!X%=0:X%?1=8+LEN A$:X%!3=A%:$(X%+7)=A$
A%=&14:CALL&FFF1:=X%?3=0
----8<----
 
This reads and displays the file server version string. The
begining of the string /should/ indicate the manufacturer. The end
of the string /should/ indicate the software version and system.
My MDFS gives:
 
"SJ Research File Server ver 2.00/MDFS"
 
and SoftMDFS gives:
 
"SJ SoftMDFS File Server ver 0.01/MDFS"
 
so INSTR(ver$,"SJ") or LEFT$(ver$,2)="SJ" can be used to decide
that SJ-specific features can be used, such as account numbers,
etc.
 
-- 
J.G.Harston - jgh@...                - mdfs.net/User/JGH
Sheffield Boundary Review at http://mdfs.net/User/JGH/Docs/Politics/ParlReview
<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>