RE: Off Topic "Display IP from DOS using %???%

2001-10-04 Thread Hatley, Ken

Here's another way...;)
for /f "tokens=2 delims=[]" %a in ('ping -n 1 %computername% ^| find "["')
do set IP=%a

-Original Message-
From: Hatley, Ken [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, October 04, 2001 2:23 PM
To: Exchange Discussions
Subject: RE: Off Topic "Display IP from DOS using %???%

Sorry there is a space in there

For.exe /f "tokens=14 delims=: " %a in ('ipconfig^| find "IP Address"') do
set IP=%a

then %IP% is your IP

-Original Message-
From: Hatley, Ken [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, October 04, 2001 2:11 PM
To: Exchange Discussions
Subject: RE: Off Topic "Display IP from DOS using %???%

for /f "tokens=2 delims=:" %a in ('ipconfig^| find "IP Address"') do set
IP=%a

dumb

-Original Message-
From: Van Huissteden, Adriaan [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, October 04, 2001 1:52 AM
To: Exchange Discussions
Subject: Off Topic "Display IP from DOS using %???%

Well,

I know this can be done, but have forgotten!

>From dos type echo %username% and displays User name (vanhuia)

What is it for Ip address?   echo %ip%?

Thanks


Adriaan Van Huissteden

Network Administrator
Connect Credit Union
Phone: (03) 6233 0660



DISCLAIMER: The information in this message is confidential and may be
legally privileged. It is intended solely for the addressee.  Access to this
message by anyone else is unauthorised.  If you are not the intended
recipient, any disclosure, copying, or distribution of the message, or any
action or omission taken by you in reliance on it, is prohibited and may be
unlawful.  Please contact the sender immediately if you have received this
message in error. Thank you. 



_
List posting FAQ:   http://www.swinc.com/resource/exch_faq.htm
Archives:   http://www.swynk.com/sitesearch/search.asp
To unsubscribe: mailto:[EMAIL PROTECTED]
Exchange List admin:[EMAIL PROTECTED]

_
List posting FAQ:   http://www.swinc.com/resource/exch_faq.htm
Archives:   http://www.swynk.com/sitesearch/search.asp
To unsubscribe: mailto:[EMAIL PROTECTED]
Exchange List admin:[EMAIL PROTECTED]

_
List posting FAQ:   http://www.swinc.com/resource/exch_faq.htm
Archives:   http://www.swynk.com/sitesearch/search.asp
To unsubscribe: mailto:[EMAIL PROTECTED]
Exchange List admin:[EMAIL PROTECTED]

_
List posting FAQ:   http://www.swinc.com/resource/exch_faq.htm
Archives:   http://www.swynk.com/sitesearch/search.asp
To unsubscribe: mailto:[EMAIL PROTECTED]
Exchange List admin:[EMAIL PROTECTED]



RE: Off Topic "Display IP from DOS using %???%

2001-10-04 Thread Hatley, Ken

Sorry there is a space in there

For.exe /f "tokens=14 delims=: " %a in ('ipconfig^| find "IP Address"') do
set IP=%a

then %IP% is your IP

-Original Message-
From: Hatley, Ken [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, October 04, 2001 2:11 PM
To: Exchange Discussions
Subject: RE: Off Topic "Display IP from DOS using %???%

for /f "tokens=2 delims=:" %a in ('ipconfig^| find "IP Address"') do set
IP=%a

dumb

-Original Message-
From: Van Huissteden, Adriaan [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, October 04, 2001 1:52 AM
To: Exchange Discussions
Subject: Off Topic "Display IP from DOS using %???%

Well,

I know this can be done, but have forgotten!

>From dos type echo %username% and displays User name (vanhuia)

What is it for Ip address?   echo %ip%?

Thanks


Adriaan Van Huissteden

Network Administrator
Connect Credit Union
Phone: (03) 6233 0660



DISCLAIMER: The information in this message is confidential and may be
legally privileged. It is intended solely for the addressee.  Access to this
message by anyone else is unauthorised.  If you are not the intended
recipient, any disclosure, copying, or distribution of the message, or any
action or omission taken by you in reliance on it, is prohibited and may be
unlawful.  Please contact the sender immediately if you have received this
message in error. Thank you. 



_
List posting FAQ:   http://www.swinc.com/resource/exch_faq.htm
Archives:   http://www.swynk.com/sitesearch/search.asp
To unsubscribe: mailto:[EMAIL PROTECTED]
Exchange List admin:[EMAIL PROTECTED]

_
List posting FAQ:   http://www.swinc.com/resource/exch_faq.htm
Archives:   http://www.swynk.com/sitesearch/search.asp
To unsubscribe: mailto:[EMAIL PROTECTED]
Exchange List admin:[EMAIL PROTECTED]

_
List posting FAQ:   http://www.swinc.com/resource/exch_faq.htm
Archives:   http://www.swynk.com/sitesearch/search.asp
To unsubscribe: mailto:[EMAIL PROTECTED]
Exchange List admin:[EMAIL PROTECTED]



RE: Off Topic "Display IP from DOS using %???%

2001-10-04 Thread Hatley, Ken

for /f "tokens=2 delims=:" %a in ('ipconfig^| find "IP Address"') do set
IP=%a

dumb

-Original Message-
From: Van Huissteden, Adriaan [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, October 04, 2001 1:52 AM
To: Exchange Discussions
Subject: Off Topic "Display IP from DOS using %???%

Well,

I know this can be done, but have forgotten!

>From dos type echo %username% and displays User name (vanhuia)

What is it for Ip address?   echo %ip%?

Thanks


Adriaan Van Huissteden

Network Administrator
Connect Credit Union
Phone: (03) 6233 0660



DISCLAIMER: The information in this message is confidential and may be
legally privileged. It is intended solely for the addressee.  Access to this
message by anyone else is unauthorised.  If you are not the intended
recipient, any disclosure, copying, or distribution of the message, or any
action or omission taken by you in reliance on it, is prohibited and may be
unlawful.  Please contact the sender immediately if you have received this
message in error. Thank you. 



_
List posting FAQ:   http://www.swinc.com/resource/exch_faq.htm
Archives:   http://www.swynk.com/sitesearch/search.asp
To unsubscribe: mailto:[EMAIL PROTECTED]
Exchange List admin:[EMAIL PROTECTED]

_
List posting FAQ:   http://www.swinc.com/resource/exch_faq.htm
Archives:   http://www.swynk.com/sitesearch/search.asp
To unsubscribe: mailto:[EMAIL PROTECTED]
Exchange List admin:[EMAIL PROTECTED]



RE: Off Topic "Display IP from DOS using %???%

2001-10-04 Thread Callard, Gavin A.

Typing:

set 

at a cmd prompt will tell you what system variables are set.  I don't recall
ever seeing one containing an ip address though.  What about using ipconfig
redirected to a file - would that help you at all?

Gavin.

-Original Message-
From: Van Huissteden, Adriaan [mailto:[EMAIL PROTECTED]] 
Sent: 04 October 2001 7:52 AM
To: Exchange Discussions
Subject: Off Topic "Display IP from DOS using %???%

Well,

I know this can be done, but have forgotten!

>From dos type echo %username% and displays User name (vanhuia)

What is it for Ip address?   echo %ip%?

Thanks


Adriaan Van Huissteden

Network Administrator
Connect Credit Union
Phone: (03) 6233 0660



DISCLAIMER: The information in this message is confidential and may be
legally privileged. It is intended solely for the addressee.  Access to this
message by anyone else is unauthorised.  If you are not the intended
recipient, any disclosure, copying, or distribution of the message, or any
action or omission taken by you in reliance on it, is prohibited and may be
unlawful.  Please contact the sender immediately if you have received this
message in error. Thank you. 



_
List posting FAQ:   http://www.swinc.com/resource/exch_faq.htm
Archives:   http://www.swynk.com/sitesearch/search.asp
To unsubscribe: mailto:[EMAIL PROTECTED]
Exchange List admin:[EMAIL PROTECTED]

_
List posting FAQ:   http://www.swinc.com/resource/exch_faq.htm
Archives:   http://www.swynk.com/sitesearch/search.asp
To unsubscribe: mailto:[EMAIL PROTECTED]
Exchange List admin:[EMAIL PROTECTED]



RE: Off Topic "Display IP from DOS using %???%

2001-10-04 Thread DOT

ipconfig or permutations thereof:  ipconfig /all

> -Original Message-
> From: Van Huissteden, Adriaan [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, October 04, 2001 1:52 AM
> To:   Exchange Discussions
> Subject:  Off Topic "Display IP from DOS using %???%
> 
> Well,
> 
>   I know this can be done, but have forgotten!
> 
> From dos type echo %username% and displays User name (vanhuia)
> 
>   What is it for Ip address?   echo %ip%?
> 
> Thanks
>   
> 
> Adriaan Van Huissteden
> 
> Network Administrator
> Connect Credit Union
> Phone: (03) 6233 0660
> 
> 
> 
> DISCLAIMER: The information in this message is confidential and may be
> legally privileged. It is intended solely for the addressee.  Access to
> this
> message by anyone else is unauthorised.  If you are not the intended
> recipient, any disclosure, copying, or distribution of the message, or any
> action or omission taken by you in reliance on it, is prohibited and may
> be
> unlawful.  Please contact the sender immediately if you have received this
> message in error. Thank you. 
> 
> 
> 
> _
> List posting FAQ:   http://www.swinc.com/resource/exch_faq.htm
> Archives:   http://www.swynk.com/sitesearch/search.asp
> To unsubscribe: mailto:[EMAIL PROTECTED]
> Exchange List admin:[EMAIL PROTECTED]

_
List posting FAQ:   http://www.swinc.com/resource/exch_faq.htm
Archives:   http://www.swynk.com/sitesearch/search.asp
To unsubscribe: mailto:[EMAIL PROTECTED]
Exchange List admin:[EMAIL PROTECTED]



RE: Off Topic "Display IP from DOS using %???%

2001-10-04 Thread Steve Hanna


pardon, I said pardon. huh what... 

ipconfig /? for the full story

--steve





> -Original Message-
> From: Van Huissteden, Adriaan [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, October 04, 2001 2:52 AM
> To: Exchange Discussions
> Subject: Off Topic "Display IP from DOS using %???%
> 
> 
> Well,
> 
>   I know this can be done, but have forgotten!
> 
> From dos type echo %username% and displays User name (vanhuia)
> 
>   What is it for Ip address?   echo %ip%?
> 
> Thanks
>   
> 
> Adriaan Van Huissteden
> 
> Network Administrator
> Connect Credit Union
> Phone: (03) 6233 0660
> 
> 
> 
> DISCLAIMER: The information in this message is confidential and may be
> legally privileged. It is intended solely for the addressee.  
> Access to this
> message by anyone else is unauthorised.  If you are not the intended
> recipient, any disclosure, copying, or distribution of the 
> message, or any
> action or omission taken by you in reliance on it, is 
> prohibited and may be
> unlawful.  Please contact the sender immediately if you have 
> received this
> message in error. Thank you. 
> 
> 
> 
> _
> List posting FAQ:   http://www.swinc.com/resource/exch_faq.htm
> Archives:   http://www.swynk.com/sitesearch/search.asp
> To unsubscribe: mailto:[EMAIL PROTECTED]
> Exchange List admin:[EMAIL PROTECTED]
> 

_
List posting FAQ:   http://www.swinc.com/resource/exch_faq.htm
Archives:   http://www.swynk.com/sitesearch/search.asp
To unsubscribe: mailto:[EMAIL PROTECTED]
Exchange List admin:[EMAIL PROTECTED]



RE: Off Topic "Display IP from DOS using %???%

2001-10-04 Thread Monteleone-Haught Matt - Millville

Ipconfig?  

>>>-Original Message-
>>>From: Van Huissteden, Adriaan [mailto:[EMAIL PROTECTED]]
>>>Sent: Thursday, October 04, 2001 2:52 AM
>>>To: Exchange Discussions
>>>Subject: Off Topic "Display IP from DOS using %???%
>>>
>>>
>>>Well,
>>>
>>> I know this can be done, but have forgotten!
>>>
>>>From dos type echo %username% and displays User name (vanhuia)
>>>
>>> What is it for Ip address?   echo %ip%?
>>>
>>>Thanks
>>> 
>>>
>>>Adriaan Van Huissteden
>>>
>>>Network Administrator
>>>Connect Credit Union
>>>Phone: (03) 6233 0660
>>>
>>>
>>>
>>>DISCLAIMER: The information in this message is confidential 
>>>and may be
>>>legally privileged. It is intended solely for the addressee. 
>>> Access to this
>>>message by anyone else is unauthorised.  If you are not the intended
>>>recipient, any disclosure, copying, or distribution of the 
>>>message, or any
>>>action or omission taken by you in reliance on it, is 
>>>prohibited and may be
>>>unlawful.  Please contact the sender immediately if you have 
>>>received this
>>>message in error. Thank you. 
>>>
>>>
>>>
>>>_
>>>List posting FAQ:   http://www.swinc.com/resource/exch_faq.htm
>>>Archives:   http://www.swynk.com/sitesearch/search.asp
>>>To unsubscribe: mailto:[EMAIL PROTECTED]
>>>Exchange List admin:[EMAIL PROTECTED]
>>>

_
List posting FAQ:   http://www.swinc.com/resource/exch_faq.htm
Archives:   http://www.swynk.com/sitesearch/search.asp
To unsubscribe: mailto:[EMAIL PROTECTED]
Exchange List admin:[EMAIL PROTECTED]