Re: Retrieve Win32 domain name

2008-08-26 Thread Gabriel Genellina
En Tue, 26 Aug 2008 05:39:55 -0300, Salim Fadhley <[EMAIL PROTECTED]> escribi�: I'm looking for a method to retrieve a Windows Domain name (not a DNS Domain name). I know this can be done by simply reading an environment variable, however on the machines I need to work with sometimes the envi

Retrieve Win32 domain name

2008-08-26 Thread Salim Fadhley
I'm looking for a method to retrieve a Windows Domain name (not a DNS Domain name). I know this can be done by simply reading an environment variable, however on the machines I need to work with sometimes the environment variables can be messed-up and are not trustworthy. Is there somebody who kn

Retrieve Win32 domain name

2008-08-26 Thread Salim Fadhley
I'm looking for a method to retrieve a Windows Domain name (not a DNS Domain name). I know this can be done by simply reading an environment variable, however on the machines I need to work with sometimes the environment variables can be messed-up and are not trustworthy. Is there somebody who kn