Page 1 of 1 1
Topic Options
#43 - 1999-05-26 03:50 PM @IPADDRESS DOS Equivalent
Anonymous
Unregistered


Does anyone know the DOS equivalent to Kix's IPADDRESS?

I am trying to write a batch file so that users who dial-in can skip the kix script.
It takes forever, even at 56k and I want to try to avoid lmscript emulation.
I plan on blocking the RAS IP range.

Thanks

------------------
Tony Reno
renoa@rfa.org

Top
#44 - 1999-08-13 02:52 PM Re: @IPADDRESS DOS Equivalent
Anonymous
Unregistered


This may be a bit late.

You can run netstat to a temp file then find in the temp file.

netstat -RN> %TEMP%\netstat.tmp
find /i "137.169.8" %TEMP%\netstat.tmp |find /i " 127.0."> NUL
if not errorlevel 1 goto end

:Everyone

:end

If the IP address contains these values then it skips to the end.

Top
#45 - 1999-08-13 03:11 PM Re: @IPADDRESS DOS Equivalent
Anonymous
Unregistered


Hi Tony,

Another option is to use:
winipcfg /batch filename

and then you can use find as previously suggested on filename.

Regards,

Brad

Top
#46 - 1999-08-13 03:14 PM Re: @IPADDRESS DOS Equivalent
Anonymous
Unregistered


Hi Tony,

Another option is to use:
winipcfg /batch filename

and then you can use find as previously suggested on filename.

Regards,

Brad

Top
#47 - 1999-08-13 03:36 PM Re: @IPADDRESS DOS Equivalent
Anonymous
Unregistered


Thank You both. I ended up using the @RAS in KIX but, given time I will use your ideas because I would like to skip KIX altogether at dial-in.

------------------
Anthony J. Reno
renoa@rfa.org


Top
Page 1 of 1 1


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 1171 anonymous users online.
Newest Members
Viginette, ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder
17888 Registered Users

Generated in 0.025 seconds in which 0.011 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org