Environment variables are set on each individual machine by different
processes. I wouldn't count on many of them to be consistent between
machines or OS versions. The WinAPI calls tend to be a bit more
reliable.

On Wed, Jun 17, 2015 at 4:44 AM, Paul Newton <[email protected]> wrote:
> Including USERDNSDOMAIN which is what I was looking for ... thanks
>
> -----Original Message-----
> From: ProfoxTech [mailto:[email protected]] On Behalf Of Paul Hill
> Sent: 17 June 2015 08:56
> To: [email protected]
> Subject: Re: How to find the full computer name
>
> Got to a command prompt and type 'set'.  It's all there.
>
> On 17 June 2015 at 08:25, Paul Newton <[email protected]> wrote:
>> Returns INFOR not INFOR.COM
>>
>> -----Original Message-----
>> From: ProfoxTech [mailto:[email protected]] On Behalf Of Paul Hill
>> Sent: 16 June 2015 16:57
>> To: [email protected]
>> Subject: Re: How to find the full computer name
>>
>> On 16 June 2015 at 16:34, Alan Bourke <[email protected]> wrote:
>>> On Tue, 16 Jun 2015, at 03:27 PM, Darren wrote:
>>>> ? GETENV("COMPUTERNAME")
>>>>
>>>
>>> ... doesn't include the domain name.
>>
>> ?GETENV("USERDOMAIN")
>
> --
> Paul
>
[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/cacw6n4tozj9j_ame0xqjbb9fwmsiymihnfasus8fne48ysa...@mail.gmail.com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to