Replace within files

Replace within files

Replaces substrings and variables within files. This command replaces all variables of the #varname# type with their values in the specified files. Besides, you can specify any strings to be replaced and their new values.

Description
Optionally, you may add comments here describing the purpose of this element.
Path
Choose the path to a file.
APPLICATION DATA PATH - Program subfolder in Application Data folder.
CDROM PATH - CD or DVD drive.
CUSTOM PATH - The path must be defined in the filename control.
INSTALL PATH - Default installation path.
SETUP FILE PATH - The path where setup executable file is run.
SYSTEM PATH - Windows system directory.
TEMPORARY PATH - Windows temporary directory.
WINDOWS PATH - Windows directory.
Filename or Wildcard
The name or the wildcard of the files to be replaced. If you use a CUSTOM PATH, the full path to the file should be specified.
*.txt
If Condition
You can specify a condition that should be met for the action to be performed. See If Condition for Wizard for more details. If the condition is FALSE then the command is skipped. See How to use If Condition for more details.
What Find
The string that will be replaced.
Replace With
The new string the found string will be replaced with.