I'm looking for a way to read in file and replace a common string in the file with a value. For example: If I have a file connectionstring.txt and it had sever lines with %NameServer%, is there any way InstallScript can find/replace all instances of %NameServer% with another value? Or, would I need to run a third-party utility?
Thanks in advance!!
This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Doing a Find/Replace over text files
Started by
xdaze
, Oct 15 2003 18:28
1 reply to this topic
Posted 16 October 2003 - 17:13
Take a look here under InstallScript Samples -> Strings -> Replace a String in a File
Stefan Krüger
InstallSite.org twitter facebook