When a wireless card is in use, the ipconfig command may not help you.  You may 
get something like this: 
 
  C:\>ipconfig /all

  Windows IP Configuration
 
  An internal error occurred: A device attached to the system is not 
functioning.

  Please contact Microsoft Product Support Services for further help.

  Additional information: Unknown media status code.


Another way to get the IP of the hostname is to ping it, like this:

  C:\>ping -n 1 %computername%

  Pinging tawlap2 [88.8.25.176] with 32 bytes of data:

  Reply from 88.8.25.176: bytes=32 time<1ms TTL=128

  Ping statistics for 88.8.25.176:
      Packets: Sent = 1, Received = 1, Lost = 0 (0% loss),
  Approximate round trip times in milli-seconds:
      Minimum = 0ms, Maximum = 0ms, Average = 0ms

You still, unfortunately, have to dig through a mess of characters.

I wish I you could use the "reg query" command to find it in the registry, but 
I don't see how you can be sure which interface is primary.

  
Tim Widowfield 
[EMAIL PROTECTED] 
v: 937-878-9045 
f: 937-878-9055 
m: 937-369-7012 
http://www.widowfield.com 
 
----- Original Message ---- 
From: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> 
To: [email protected] 
Sent: Tuesday, September 19, 2006 1:58:45 PM 
Subject: Re: [ARSLIST] passing ipconfig information 
 
Thanks Frank..  It must be still Monday for me.   
 Thanks again. 
   Brandi 
      
          
  From: Action Request System discussion list(
_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at http://www.wwrug.org

Reply via email to