Replace a line of text file contents
Hello everyone
It is possible to replace a line by the entire contents of another file
Archive: Replace a line of text file contents
Replace a line of text file contents
Hello everyone
It is possible to replace a line by the entire contents of another file
You can use the TextReplace plugin:
http://nsis.sourceforge.net/TextReplace_plugin
First of all forgiveness for my bad English.
You know where I can find some examples of how to use this plugin.
What I want is to find a word in a text and replace it with the contents of another file.
From already thank you very much
From the example in the plugin zip:
${textreplace::FillReadBuffer} "C:\ReplaceWith.txt" $1
${textreplace::ReplaceInFile} "C:\input.txt" "C:\output.txt" "WordYouWantToBeReplaced" "$1" "/S=1 /C=1 /PI=0 /PO=1" $2
${textreplace::FreeReadBuffer} "$1"
${textreplace::Unload}
Please read the readme.txt and the example from the plugin zip archive for more info.
I love you, I thank you from the heart that gives me support. My English is not very good, for this reason is not fully understand the examples.
Many many thanks, works perfectly !!!!!!!!!