Thread: Edit a file
View Single Post
Old 06-12-2009, 04:05 AM   #3 (permalink)
jcorradino
The Contributor
 
jcorradino's Avatar
 
Join Date: Sep 2008
Posts: 36
Thanks: 2
jcorradino is on a distinguished road
Default

I know for sure that the easiest ways are to either rewrite the file or concatenate the information into the file. I would assume that what you are looking for is possible, I would just need to research the answer a little but more though.

My guess would be by opening the file, reading its contents, noting where the change(s) need to be, positioning the pointer, and then editing the data. Possible, most likely... pain in the ass, absolutely.
__________________
Jason Corradino
Applications Developer, Interactive Support - Tribune Technology
J2EE Development, Script Tinkering - Develop, Support, and Maintain Tribune websites.
jcorradino is offline  
Reply With Quote