Article View: comp.os.netware.misc
Article #178Re: Having a batch file auto-detec the NIC address
From: Mark H. Wood
Date: Wed, 06 Nov 1996 00:00
Date: Wed, 06 Nov 1996 00:00
25 lines
1633 bytes
1633 bytes
In article <327fd06a.8849461@news.execpc.com>, tom.kustner@emjay.com (Tom Kustner) writes: > We have our PC install batch files automated except for one item: > > We currently have to tell the batch file which type of NIC card the > machine has (we have four types). We have several utilities, like > SYSCHK, which can write the NIC address (along with other info) to a > file. However, I don't know how to read a file in DOS or if there's a > nifty way to set a variable to a NIC address. Of course, we would > then test it to see who the manufacturer is. > > Does anyone have any good ideas? > > Tom "Yes, we're *that* lazy" Kustner Just load all four drivers. Only the one that finds its hardware will TSR; the rest will just exit. You can even check the ERRORLEVEL after each one if you care to know which one actually loaded. Mark "even lazier" Wood. -- Mark H. Wood, Lead Systems Programmer +1 317 274 0749 [@disclaimer@] Internet: MWOOD@INDYVAX.IUPUI.EDU BITNET: MWOOD@INDYVAX I am endeavoring to construct a mnemonic circuit using stone knives and bearskins. -- Spock
Technical Details
Message-ID:
<1996Nov6.102451.27095@indyvax.iupui.edu>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<327fd06a.8849461@news.execpc.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fe659,cbfb9882fdbabed8 X-Google-Attributes: gidfe659,public X-Google-Thread: f8bf7,cbfb9882fdbabed8 X-Google-Attributes: gidf8bf7,public From: mwood@indyvax.iupui.edu (Mark H. Wood) Subject: Re: Having a batch file auto-detec the NIC address Date: 1996/11/06 Message-ID: <1996Nov6.102451.27095@indyvax.iupui.edu> X-Deja-AN: 194891682 references: <327fd06a.8849461@news.execpc.com> newsgroups: comp.os.netware.misc,bit.listserv.novell