Hi All,

Any ideas on how to read a txt file from asp and get it to grab one block of
information?
Sample txt file;

Windows IP Configuration
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . :
IP Address. . . . . . . . . . . . : 192.168.0.1
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :
PPP adapter SpeedTouch UK:
Connection-specific DNS Suffix . :
IP Address. . . . . . . . . . . . : 81.128.131.42
Subnet Mask . . . . . . . . . . . : 255.255.255.255
Default Gateway . . . . . . . . . : 81.128.131.42

I wish to grab the PPP ip address of 81.128.131.42 (the 81 is the only
static part of the ip) and then create a hyper link on the outputted page
using this ip address.

Thanks in advance,
Rob

Re: Getting a block of data from with a text file by Curt_C

Curt_C
Sun Aug 31 17:21:49 CDT 2003

IPConfig huh? :}
Use FSO to read it all in then use the Instr() Mid() Left() Right()
functions to break to what you need.

--
----------------------------------------------------------
Curt Christianson (Software_AT_Darkfalz.Com)
Owner/Lead Designer, DF-Software
http://www.Darkfalz.com
---------------------------------------------------------
..Offering free scripts & code snippits for everyone...
---------------------------------------------------------


"Rob" <hdw.reporting@btopenworld.com> wrote in message
news:bitnoc$r07$1@titan.btinternet.com...
> Hi All,
>
> Any ideas on how to read a txt file from asp and get it to grab one block
of
> information?
> Sample txt file;
>
> Windows IP Configuration
> Ethernet adapter Local Area Connection:
> Connection-specific DNS Suffix . :
> IP Address. . . . . . . . . . . . : 192.168.0.1
> Subnet Mask . . . . . . . . . . . : 255.255.255.0
> Default Gateway . . . . . . . . . :
> PPP adapter SpeedTouch UK:
> Connection-specific DNS Suffix . :
> IP Address. . . . . . . . . . . . : 81.128.131.42
> Subnet Mask . . . . . . . . . . . : 255.255.255.255
> Default Gateway . . . . . . . . . : 81.128.131.42
>
> I wish to grab the PPP ip address of 81.128.131.42 (the 81 is the only
> static part of the ip) and then create a hyper link on the outputted page
> using this ip address.
>
> Thanks in advance,
> Rob
>
>