I would open the file in word and then write a macro. However, be very careful when you save the new file that you save it in text format (not just with a txt extension). You don't want all the formatting crap that MS Word injects into the file.
T -----Original Message----- From: Houk, Gary [mailto:[EMAIL PROTECTED]] Sent: Friday, April 19, 2002 10:22 AM To: CF-Talk Subject: RE: manipulating a text file... Yeah, if I had more time, I could look into that, but of course this is due by end of day. Is there basically no way that this can be done with cffile? - gary -----Original Message----- From: Mark A. Kruger - CFG [mailto:[EMAIL PROTECTED]] Sent: Friday, April 19, 2002 9:59 AM To: CF-Talk Subject: RE: manipulating a text file... ouch... well, if the file is structured you might try the text based ODBC driver. Personally, I think it would be easier to host the data in a database and export it OUT into a file when it's needed in a file format. Mark -----Original Message----- From: Houk, Gary [mailto:[EMAIL PROTECTED]] Sent: Friday, April 19, 2002 8:53 AM To: CF-Talk Subject: manipulating a text file... I've just been tasked with updating a text file. There are 134,000 records or so in it, and at character postion 172, I need to insert a model number, which is the same for all of the records. Can anyone give me an idea of how to go about doing this and then resave the file with the new data? TIA, - Gary ______________________________________________________________________ Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm 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

