Getting a block of data from with a text file

R

Rob

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
 
C

Curt_C [MVP]

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top