By registering with us, you'll be able to discuss, share and private message with other members of our community.
SignUp Now!> On Tue, 01 Jun 2010 03:16:24 -0400, Kachupp <> wrote:
>
> |Any plugins around the grab the WAN IP. ?? if not make one
> |
>
> What do you mean by "WAN IP"?
>---Quote---
>> On Tue, 01 Jun 2010 03:16:24 -0400, Kachupp <> wrote:
>>
>> |Any plugins around the grab the WAN IP. ?? if not make one
>> |
>>
>> What do you mean by "WAN IP"?
>---End Quote---
>Wide Area Network .. the true IP address
> |---Quote---
> |> On Tue, 01 Jun 2010 03:16:24 -0400, Kachupp <> wrote:
> |>
> |> |Any plugins around the grab the WAN IP. ?? if not make one
> |> |
> |>
> |> What do you mean by "WAN IP"?
> |---End Quote---
> |Wide Area Network .. the true IP address
>
> Does your computer have a "true IP address"?
>
> Try: ECHO %_IP
>
> What does it say?
> That echos the local address 192.168.1.2 to access "Router"
> _WIP would be a nice addin / plugin / new tcc intrernal
>
>
> |That echos the local address 192.168.1.2 to access "Router"
> |_WIP would be a nice addin / plugin / new tcc intrernal
>
> Then the computer doesn't have a real IP address and the only way you (or
> Windows, or TCC) can get it from the router is to ask the router
> for it. Can't
> you connect to the router with your browser and see details of it's
> configuration? You probably can, and if so, you could write a
> TCC batch file to
> get info from the router and process it.
>
> For example, if I tell TCC "type
> http://192.168.100.1/logsdata.html", I see my
> cable modem's log.
>
> A plugin command to do what you seem to want would be impossible given the
> variety of routers, private IP addresses, and data formats in existence.
> On Tue, 01 Jun 2010 20:24:06 -0400, Kachupp <> wrote:
>
> How about this?
>
> v:\> echo %@word["< >",12,%@execstr[type http://checkip.dyndns.org/]]<http://checkip.dyndns.org/%5D%5D>
> 74.71.55.217
> --
> - Vince
>
>
>
> On Tue, 01 Jun 2010 20:24:06 -0400, Kachupp <> wrote:
>
> How about this?
>
> v:\> echo %@word["< >",12,%@execstr[type http://checkip.dyndns.org/]]
> 74.71.55.217
> |> How about this?
> |>
> |> v:\> echo %@word["< >",12,%@execstr[type http://checkip.dyndns.org/]]
> |> 74.71.55.217
> |---End Quote---
>
> |That works very well vince
>
> Others have given more elegant solutions.
Wide Area Network .. the true IP address
@setlocal
@echo off
copy http://checkip.dyndns.org wanip.htm > nul
setdos /X-6
set wanip=%@line[wanip.htm,0]
::**NOTE: Forum would not allow correct posting of the following line
set wanip=%@strip["Current IP Address: Check",%wanip]
::**WANIP.BTM attached to this message with correct line
setdos /X0
if exist wanip.htm del wanip.htm > nul
endlocal wanip
echo %wanip
76.70.57.31
> ---Quote (Originally by Kachupp)---
> Wide Area Network .. the true IP address
> ---End Quote---
>
> Code:
> ---------
> @setlocal
> @echo off
> copy http://checkip.dyndns.org wanip.htm > nul
> setdos /X-6
> set wanip=%@line[wanip.htm,0]
> ::**NOTE: Forum would not allow correct posting of the following line
> set wanip=%@strip["Current IP Address: Check",%wanip]
> ::**WANIP.BTM attached to this message with correct line
> setdos /X0
> if exist wanip.htm del wanip.htm > nul
> endlocal wanip
> ---------
>
> Code:
> ---------
> echo %wanip
> 76.70.57.31