Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- CA-Clipper Tools . Book 4-Appendices - <b>nnetfslst()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 NNETFSLST()
 Determines the names of all visible file servers within a network
------------------------------------------------------------------------------
 Syntax

     NNETFSLST([<cMask>]) --> aServerList

     Netware: 2.2 and 3.11

 Argument

     <cMask>  Designates a search mask that can contain the wildcard
     characters "?" and "*".  The default value ("*") indicates that all
     server names are returned.

 Returns

     NNETFSLST() returns a one-dimensional array.  Each array element
     contains one server name.

 Description

     NOVELL NET FILE SERVER LIST
     NNETFSLST() returns the names of all visible file servers, whether the
     server is attached or not.  With this function you can determine if you
     can address a specific file server before you call NNETATTACH() or
     NNETLOGIN().

 Note

     .  Unlike NNETSLIST(), which returns the names of the attached
        servers (maximum of eight), NNETFSLST() returns the names of all
        servers within a network.

 Examples

     .  Display the names of all the file servers in a network:

        aServer=NNETFSLST()
        FOR i = 1 TO LEN(aServer)
        ? aServer[i]
        NEXT i

     .  Select a file server with ACHOICE(), and then log in a user:

        aServer=NNETFSLST()
        IF (nSelect:=ACHOICE(5,5,8,45,aServer))>0
        NNETLOGIN("PAUL","190366",aServer[nSelect])
        ENDIF

See Also: NNETATTACH() NNETLOGIN() NNETSLIST() NNETCVSSRV()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson