#1 26 Dec 2014 16:44

carlos
Member
From: Chile
Registered: 04 Nov 2008
Posts: 246
Website

[Undocumented] _CLUSTER_NETWORK_NAME_ on hostname.exe

Hello. I found that hostname.exe when print the computername it uses the environment variable _CLUSTER_NETWORK_NAME_ if it is present.

Example:

C:\dev>set _CLUSTER_NETWORK_NAME_
Variable de entorno _CLUSTER_NETWORK_NAME_ no definida

C:\dev>hostname.exe
Desarrollo09-PC

C:\dev>set _CLUSTER_NETWORK_NAME_=Hello_World

C:\dev>hostname.exe
Hello_World

C:\dev>

Offline

#2 26 Dec 2014 17:33

npocmaka
Member
From: Bulgaria
Registered: 03 Dec 2009
Posts: 430

Re: [Undocumented] _CLUSTER_NETWORK_NAME_ on hostname.exe

Cool!  big_smile

Last edited by npocmaka (14 Jan 2015 00:08)

Offline

Board footer

Powered by FluxBB