Newsgroups: bit.listserv.novell
Date:         Mon, 27 Jul 1992 11:08:12 EDT
Reply-To:     Novell LAN Interest Group <NOVELL@SUVM.BITNET>
From:         "J. Pilant" <pilant@NADC.NADC.NAVY.MIL>
Subject:      Re: Getting Configuration of PC
X-To:         NOVELL%SUVM@pucc.PRINCETON.EDU

OBSchou <O.B.Schou@LUT.AC.UK> writes:
>Folk,
>
>There was somewhere, in the long and distant past,  a program that
>would discover what was attached to a PC (eg VGA, EGA, Mono adapter,
>3.5" or 5" drives, maths copro, amount of RAM etc.) The program then
>created appropriate environment variables with the details.
>
>Does anyone know if this program is still available, or of there is an
>alternative?
>
>Our need is to have a workstation figure out what it has attached, so
>we can load the correct set of config files for certain applications.
>We dont particularly like the idea of a database approach, as
>individual machines could change without our knowing.

Bertil,
I use NWHAT4 to get these bits of information.  I cannot recall where I
found it, but it was called NWHAT4.ZIP.  I got it from wuarchive.wustl.edu in
/systems/novell/util/supervis.

Excerpted from the doc:
>  License:
>
>    You are free to use NWHAT for your own personal use.  You
>  may copy and distribute NWHAT and the accompanying documentation
>  provided no fee is charge for other than the copying of the
>  media.  This includes posting NWHAT on Bulletin board systems
>  and information services.
>
>    You may NOT distribute NWHAT without the documentation and
>  copyright notice.  You may NOT use NWHAT in a commercial
>  application without paying the license fee.  You may NOT use
>  NWHAT in a government application without paying the license
>  fee except for the Federal government.  Federal government
>  agencies may use NWHAT free of charge.
>
>    You may obtain a license to use NWHAT on a single file server
>  by mailing a check or money order for $20.00 (US) to:
>
>        Precision Data Consultants
>        NE 1670 Old Belfair Hwy
>        Belfair, WA 98528
>
>    If you would like the latest version of NWHAT enclose an
>  additional $5.00 and we will mail you the most current version.
>  Either way we will put you on our mailing list and keep you up
>  to date on all our products.
>
>   If you feel that $20.00 is too much to ask for the use of NWHAT
>  please check the pricing for other network software.  If you still
>  think $20.00 is unreasonable then please do not use NWHAT for
>  other than personal purposes.
>
>    We welcome your suggestions, questions and your bugs/
>  abnormality reports,  give us a call at (206) 275-5597 or
>  EasyPlex a message on Compuserve (73347,3225).

On-line help:
>     NWHAT v1.4 - Batch file enhancer for Novell Networks
>  Command   Purpose                           Argument      Return
>   -name     Get user's LOGIN name           None         Environment
>   -full     Get user's full name            [Login Name] Environment
>   -id       Get user's Mail ID number       [Login Name] Environment
>               3=Invalid Login Name                       Errorlevel
>   -member   Is user a member of this group? Group name   Errorlevel
>   -station  Get Logical Station number      None         Environment
>   -physical Get Physical Station number     None         Environment
>   -display  Get the video display type      None         Environment
>   -logged   Is user logged in?              None         Errorlevel
>   -fserver  Default file server name        [d:]         Environment
>   -volume   Default volume name             [d:]         Environment
>   -map      Get drive mapping               [d:]         Environment
>               2=Drive is not mapped                      Errorlevel
>   -netbios  Is netbios loaded?              None         Errorlevel
>   -user     Is another user logged in?      Login name   Errorlevel
>
>  'Not Attached to Network', 'Out of Environment Space' and
>          parameter errors return an Errorlevel of 1
>   Precision Data Consultants, Wm Stackpole, (c) 1989

/jeff
Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU