PDA

View Full Version : Domain name of target computer



jandom
10-27-2003, 11:10 AM
With a standard project in installScript, is there a way(working with NT,W2K,XP) to know the Domain name of target compter?:)

TsungH
10-27-2003, 02:45 PM
Perhaps, you want to get the current domain by retrieving the value of the USERDOMAIN environment variable.

tbird01
03-04-2004, 07:56 AM
If you are on a network with many domains, how could you obtain the global name and not the local?

tbird01
03-04-2004, 08:02 AM
USERDNSNAME