realkiller Posted January 25, 2007 Share Posted January 25, 2007 i replaced the text in this text file, everythings works correct exept this. it write the word that needed to be repleaced on the last line double. #include <File.au3> $replace = "aap" $filename = "C:\1.txt" $retval = _ReplaceStringInFile($filename, "aaapie", $replace) FileWrite($filename, $replace) Remote 3.1 BetaRemote Media Player ControlUSB Security 1.2 Link to comment Share on other sites More sharing options...
realkiller Posted January 25, 2007 Author Share Posted January 25, 2007 (edited) got it #include <File.au3> _ReplaceStringInFile("C:\1.txt", "aaapie", "aap") Edited January 25, 2007 by realkiller Remote 3.1 BetaRemote Media Player ControlUSB Security 1.2 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