[windows2000] Re: Ip address environment variable??

  • From: "Sorin Srbu" <sorin.srbu@xxxxxxxxxxxxx>
  • To: <windows2000@xxxxxxxxxxxxx>
  • Date: Tue, 5 Sep 2006 13:17:29 +0200

Tim Mangan <> wrote on Tuesday, September 05, 2006 12:54 PM:

No, my intention was to find an easy way for our n00b-users to find the FDQN
of their computers. It's got to do with NMR-processing and telling cygwin to
connect to a particular x-server. Scripts would be to advanced for them I
think. Sorry. 8-]

The simplest I've come so far far is to instruct them on using "nslookup
%computername%" and the use the resulting ip with nslookup again for a FQDN.


> There might be multiple NICs and multiple IP addresses.  Google for a script
> to pull the IP Address of the "first" NIC card using your favorite scripting
> language.  Even when there are multiple IP (including VPN addresses) it is
> probably the one you want anyway.
>
> Tim
>
> -----Original Message-----
> From: windows2000-bounce@xxxxxxxxxxxxx
> [mailto:windows2000-bounce@xxxxxxxxxxxxx] On Behalf Of Sorin Srbu
> Sent: Tuesday, September 05, 2006 5:16 AM
> To: windows2000@xxxxxxxxxxxxx
> Subject: [windows2000] Ip address environment variable??
>
> Hi all,
>
> I googled for a list of environment variables available in newer windows
> versions, but couldn't see any variables for the ip.
>
> Isn't there really *any* variable for the ip-address in windows??
>
> TIA.
>
>
> BW,
>
> Sorin
>
> # Sorin Srbu, Systems Engineer        Web: http://pharm.orgfarm.uu.se/pc/
> # Dept of Medicinal Chemistry,        Phone: +46 (0)18-4714482 >3 signals>
GSM
> # Div of Org Pharm Chem,              Mobile Phone: +46 (0)701-718023
> # Box 574, Uppsala University,        Fax: +46 (0)18-4714474
> # SE-751 23 Uppsala, Sweden   Visit: BMC, Husargatan 3, D5:512b
> #
> # ()  ASCII ribbon campaign - Against html E-mail # /\ # # Harmless tagline
> follows:
> #
> # This label is not a significant source of information.
>
>
> *****************************
> New Site from The Kenzig Group!
> Windows Vista Links, list options
> and info are available at:
> http://www.VistaPop.com
> *****************************
> To Unsubscribe, set digest or vacation
> mode or view archives use the below link.
>
> http://thethin.net/win2000list.cfm
>
>
>
> *****************************
> New Site from The Kenzig Group!
> Windows Vista Links, list options
> and info are available at:
> http://www.VistaPop.com
> *****************************
> To Unsubscribe, set digest or vacation
> mode or view archives use the below link.
>
> http://thethin.net/win2000list.cfm


*****************************
New Site from The Kenzig Group!
Windows Vista Links, list options 
and info are available at:
http://www.VistaPop.com
***************************** 
To Unsubscribe, set digest or vacation
mode or view archives use the below link.

http://thethin.net/win2000list.cfm

Other related posts: