Replace String In File
A utility to replaces a string with another string in the given text file (binary won’t work!)
This tool is created because I got some issue when convert Qt Solutions pro file to visual studio project file, the library name is not correct for debug version. So I created this tiny tool to replace the wrong string with right one after conversion using qmake. This is added to my batch script so I can get everything done and correct with one click.
Usage:
FindStrReplace.exe FileName SearchFor ReplaceWith [CaseSensitive] [Occurance]
- FileName: name of the file to open
- SearchFor: The string we want to replace in the file
- ReplaceWith: The string we want as a replacement for ‘SearchForString’
- CaseSensitive(optional): 0 = Not Case sensitive (default), 1 = Case sensitive, case does matter
- Occurance(optional): 0 = Only first found is replaced, 1 = ALL occurrences are replaced (default)
Download FileStrReplace.
Via RSS
By Email