You might be able to use GetProfileString for that:

<cfset myvar = GetProfileString("c:\myinifile.ini","section","entry")>

-----Original Message-----
From: Everett, Al [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 21, 2002 4:06 PM
To: CF-Talk
Subject: Reading a text file


Anybody have a snippet of code that will read and parse the contents of a
text file? An .ini file, perhaps, with key=value pairs on each line.

Thanks.


--
Al Everett
Allied Office Supplies
www.askallied.com
mailto:[EMAIL PROTECTED]
v: 973-594-3209
f: 973-594-3626

______________________________________________________________________
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to