Advertisement

getting network info.. comp name, user name..

Started by September 07, 2000 05:22 AM
7 comments, last by Quantum 24 years, 3 months ago
hey how do i get the name of the computer, and the user name in win9x? is it possible? i wanna get them and output the results to a text file.. thx
come on ppl!! someone must know!!
i really need this!!
Advertisement
This is all your ever going to need
http://msdn.microsoft.com/library/psdk/sysmgmt/sysinfo_8stv.htm



The road to success is always under construction
Goblineye EntertainmentThe road to success is always under construction
GetComputerName
To get the machine name, call getenv("computername"). getenv() can be used to get any of the environment variables listed when you type "set" at the command prompt. I don''t know how to get the user name tho.
There is no spoon.
Did any have you bother checking the url i gave?
Goblineye EntertainmentThe road to success is always under construction
Advertisement
You didnt make it hot so it was too much trouble. =)
There is no spoon.
Here (For lazies only ):

System Information Functions
Goblineye EntertainmentThe road to success is always under construction
yay!! thx a lot ppl!
(and yes the reason i did have bother checking the url you gave me was because i was sleeping, no need to post it again )

This topic is closed to new replies.

Advertisement