Return
Batch Text Replacer - BrineSoft Online Help Prev Page Prev Page
Batch Text Replacer
Supported File Types
Back-up of Files
File Encoding
Normalize White Spaces
Ignore White Spaces
Setting It Up
Folders
Files
Strings
Options
Working with Wildcards
Command Line Options
Purchase the Product
Register the Product
Registration Benefits
System Requirements
 BrineSoft Main Page | Batch Text Replacer Page | Download this Help File

Options

With these options the user can control the behaviour of the find & replace process. The settings are saved to the current settings file (*.ini).

Binary files

  • Skip over, never modify - files that contain non-printable characters will be skipped over.
  • Ask the user - prompt whether to replace for each binary file.
  • Treat as a text file - replace strings even in binary files - use this with caution!

Back-up

  • Don't make back-up of files - no attemp is made to store previous versions of the modified files. Use this with caution!
  • Copy files to subfolder - When a file with an occurence of the search string is found, the specified sub-folder (BACKUP by default) is created and the file is copied into it. When another file from same folder is to be backed up, it is copied to the created directory. However, when BACKUP folder already exists before the batch is executed, the files in the BACKUP folder are never overwritten. Instead, a folder with a serial number is created (like BACKUP001).
  • Rename files - When a file with an occurence of the search string is found, the file is copied into the same folder, but under a different name. To get the new name, the specified prefix and suffix is added to the file name. If such a file already exists, the prefix and suffix is added again in order a unique name is created.

Read-only files

  • Skip over, never modify - files with read-only flag will be skipped over.
  • Ask the user - prompt whether to replace for each read-only file.
  • Modify anyway - replace strings even in read-only files - use this with caution!

Modified files

  • Preserve date/time stamp of files - date/time stamp of the modified file is set back to the original value.
  • Set Archive attribute - if checked, the Archive attribute of the modified file is set. Otherwise, the original attributes are preserved.

User interaction

  • Show file list prior to find & replace - if checked, before the find & replace process is started, a dialog displays a list of files in which the replacement can happen. The user has a chance to exclude selected files.
  • Prompt for each replace - if checked, the user is prompted prior to any replacement happens. The dialog shows several lines in front of the occurence and several line beyond the occurence, and the string that will be used for the replacement. This way the user can decide for each occurence separately.
  • Show final statistics - if checked, when the find & replace process is finished, the dialog displays a list of files in which the replacement happened and number of the replacements.

Miscellaneous

  • Save settings automatically before find & replace is started
    If checked the settings file (*.ini) is saved automatically before any find & replace process is started.
  • Prefer equidistant font
    If checked the dialog showing find-what and replace-with strings and the replacement confirmation dialog use an equidistant font (such as Courier New) instead of proportional font (such as Arial). This is particularly useful for replacements in texts like a script or a source code.

 

See also
Overview, Command Line Options, Setting It Up