Win9x question...
Jerry Feldman
gaf at blu.org
Fri Jun 28 22:42:21 EDT 2002
Kevin, you might be better off executing ipconfig.exe with the /all
parameter. It should be faster and more predictable.
"kgleason at ma.ultranet.com" wrote:
> Wizard,
>
> I'm trying to do a programmed query rather than an interactive one. I want my
> program to go out onto the local network to see 'who's there'? I can parse t
> hrough the System.dat registry file if I know the name (perhaps I will have t
> o do this) but was wondering if anyone knew of a faster file that has this.
>
> Kevin
>
> Original Message:
> -----------------
> From: Wizard wizard at neonedge.com
> Date: Wed, 26 Jun 2002 15:20:59 -0400
> To: kgleason at ma.ultranet.com, discuss at blu.org
> Subject: RE: Win9x question...
>
>
> On Wed, 26 Jun 2002, kgleason at ma.ultranet.com wrote:
>
> > It would be nice if there was one location where computer name was listed
> in a fixed location or where I knew the number of bytes following a
> variable. Can anyone help?
>
> You could try using a shell command such as "net user" to get the machine
> name.
> This is what it does on my Win2k machine:
> ===================================================
> C:\> net user
>
> User accounts for \\RAGE
>
> -----------------------------------------------------------------
> Administrator Grant_M VUSR_RAGE
> The command completed successfully.
>
> ====================================================
> Where "\\RAGE" is the machine name. I don't know if it shows other Windows
> machines, as this is the only Win box on the network.
>
> _______________________________________________
> Discuss mailing list
> Discuss at blu.org
> http://www.blu.org/mailman/listinfo/discuss
>
> --------------------------------------------------------------------
> mail2web - Check your email from the web at
> http://mail2web.com/ .
>
> _______________________________________________
> Discuss mailing list
> Discuss at blu.org
> http://www.blu.org/mailman/listinfo/discuss
>
--
Jerry Feldman <gaf at blu.org>
Boston Linux and Unix user group
http://www.blu.org PGP key id:C5061EA9
PGP Key fingerprint:053C 73EC 3AC1 5C44 3E14 9245 FB00 3ED5 C506 1EA9
More information about the Discuss
mailing list