Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Win9x question...



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
> 





BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org