Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using a text file

Status
Not open for further replies.

wbmstr012

Technical User
Dec 20, 2003
9
0
0
CA
Hey Everyone,

I need some help figuring out if I can do this. I'm looking for resources or sample that could do the following.

I want to use a vbscript that will search a text file that will contain some information, but in the text file I only want to retrieve certain portions of it based on a variable that I already declared in the vbscript.

text File example:

[Section1]
bla bla bla

[Section2]
bla bla

If anybody can help me it would be greatly appreciated.

Thanks,

Wbmstr012
 
Is it an ini file type of thing? - take a look at faq222-3454 it shows you how to use xml instead of ini file for that sort of thing.
 
Thank you very much. BTW do you know where I can find documentation on this sort of thing.

Wbmstr012
System Administrator
 
Hi,

I always look at msdn.microsoft.com first and then take it from there - the keyword search in this site is pretty hndy as well.

Best of luck,
Tom
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top