EN RU
Log in
Home
Download
Purchase
Documentation
Support
Contact us
 
Help  /  Command Reference  /  Registry & INI

INI File - Set Value

Writes the value of a key to an INI file.

Description
Optionally, you may add comments here describing the purpose of this element.

Path
Choose a path to an INI-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 to where setup executable file is running.
SYSTEM PATH - Windows system directory.
TEMPORARY PATH - The temporary folder of the installation #tempinstpath#. It is a subfolder genteeXX in the default temporary user's folder #temppath#.
WINDOWS PATH - Windows directory.

Filename
Name of the INI-file. If you use a CUSTOM PATH, the full path to the file must be specified.

Section
The name of the section in the target INI file, to which the keys will be added.

UTF-8 Encoding
Check this checkbox if the INI-file has UTF-8 encoding. If the INI-file is ANSI or UNICODE encoded, do not check this checkbox.

Remove BOM characters
Check this checkbox if you want remove the UTF-8 or Unicode BOM characters from the beginning of the files.

INI File - Set Value command
INI File - Set Value command

Key
Key name.

Value
The value of the key being set.

If Condition
You can specify a condition that should be met for the action to be performed. If the condition is false then the command is skipped. See How to use If Condition for more details.

Includes a note
If you select this option and the Key=Value line includes a note ( Key=Value ; ... ), then the value will be written before the semicolon. After the semicolon, the note does not change in the ini file.

Comment
You can add a comment for this setting here.

Eonza automation software - free, open source cross-platform program for easy creation and management of scripts.
  • Command Reference
    • Application
    • Dialogs
    • Files
    • Internet
    • Messages & Sound
    • Programming
    • Register DLL & Fonts
    • Registry & INI
      • Global Environment - Append
      • Global Environment - Delete Path
      • Global Environment - Get
      • Global Environment - Set
      • INI File - Delete
      • INI File - Formatting
      • INI File - Get Value
      • INI file – Insert text
      • INI File - Set Value
      • Import .REG File
      • Registry - Delete
      • Registry - For Each
      • Registry - Get Value
      • Registry - Set Value
    • System
    • Text Files
    • Uninstaller
    • Variables
Copyright © Novostrim, OOO, 2009-2026 All rights reserved.