edit line in text file and replace with text by user
Hey guys,
Is there any function or script for this thing:
I wanted to script a small installer, which asks the user to enter any word, which will be placed into a specific txt file into a certain line.
E. g. there's a test.txt, which includes the line "name test". The user starts the installer and it gives you an edit box, where you can put a word or text, what ever you want. Lets say it would be "newname". Then press Ok or next button and if you check the test.txt again, it should contain "name newname".
Can someone help me or is it possible?
Thx for all your help in advance!