exodius Posted April 13, 2006 Share Posted April 13, 2006 Is there a way to change a line in the middle of a text file without having to read the whole file and rewrite it, changing the one line in the process? Both FileWrite and FileWriteLine write to the end of a file, what I'm looking for is a way to replace a line in the middle or beginning in a slightly more efficient way than described above. Link to comment Share on other sites More sharing options...
greenmachine Posted April 13, 2006 Share Posted April 13, 2006 cdkid make a UDF for this: http://www.autoitscript.com/forum/index.ph...topic=21797&hl= Link to comment Share on other sites More sharing options...
Valuater Posted April 13, 2006 Share Posted April 13, 2006 (edited) its actually a UDF in the Beta search _FileWriteToLine 8) Edited April 13, 2006 by Valuater Link to comment Share on other sites More sharing options...
exodius Posted April 13, 2006 Author Share Posted April 13, 2006 Cool, thanks fellas Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now