Find and Replace
This page describes how to use the Find and Replace program. The source code and executable can be found on the software page.
This program modifies the source files to you programs. You are recommended to backup your source code prior to using this program, or to use the confirm option and the backup option.
Controls
Directory. Specify the directory to be scanned for files to perform find and replace. Either type the directory name or use the Windows file dialog.
- Include subdirectories. Select this if you want the converter to convert files that are in subdirectories of the specified directory.
- Confirm changes. Select this if you want to check if each change should be made.
- Make backup. Select this if you want a backup made of each file that is modified. Backups have the .bak extension, so a modified example.cpp will have a backup file of example.cpp.bak.
File extensions. Specify the file extensions of all files to be scanned. Separate each file extension with a semi-colon. Alternatively, you can specify the computer language in the combo box and the appropriate file extensions will be displayed.
Find. Specify the text to be searched for.
Replace. Specify the text to replace the text that is found by a search.
Scan. Scan the files to find out how many potential changes there are.
Convert. Scan the files and perform find and replace.
Close. Close the program.
When the files are being converted, if the confirm option is enabled a confirmation dialog is displayed. The dialog displays some source code before and after the line to convert to provide context. The line to convert has a ==> symbol at the start of the line.
- Replace. Replace the quotes with _T(""), move to the next change.
- Don't Replace. Move to the next change without replacing the quotes.
- Replace All In File. Replace all the remaining quotes with _T(""), then move to the next file.
- Don't Replace Any In File. Move to the next file without making any more changes in this file.
- Replace In All Files. Replace all the remaining quotes with _T("") in this file and all remaining files.
- Don't Replace In Any File. Stop replacing quotes in this file. Do not make changes in any more files.
As always with programs that modify source code, backup your work before proceeding. Object Media will not be held responsible for any loss incurred by using this program. You use this program at your own risk.

