Win9x question...
Ben Jackson
bejackso at lynx.dac.neu.edu
Wed Jun 26 10:48:18 EDT 2002
Well, in the wonderful world of Win32, most config data isn't kept in
files, its kept in the horrid mess that is the Registry. They key in Win95
is:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\control\ComputerName\ComputerName:
"ComputerName"
Along with the network portion of the same data:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\VxD\VNETSUP:
"ComputerName"
I can't verify this now as we no longer have 9x machines at work, but I
shuffled through one of my stacks of paper and found this.
HTH
~Ben
--
/"\ Ben Jackson
\ / bejackso at lynx.dac.neu.edu - http://piro.dnsq.org/~bbj
X Member of the ASCII Ribbon Campaign Against HTML Mail
/ \
On Wed, 26 Jun 2002, kgleason at ma.ultranet.com wrote:
> Does anyone know of a file location in Windows 9x where the Computer Name is consistently stored? I am trying to access this information directly from a QBasic program. I tried doing a search for text and came up with the USER.DAT and SYSTEM.DAT files in the \WIndows directory.
> 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?
>
> Thanks.
> Kevin
>
> --------------------------------------------------------------------
> 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
>
More information about the Discuss
mailing list