Win9x question...

kgleason at ma.ultranet.com kgleason at ma.ultranet.com
Fri Jun 28 22:27:28 EDT 2002


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 through the System.dat registry file if I know the name (perhaps I will have to 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/ .




More information about the Discuss mailing list