Edit INI file
  • 14 Nov 2024
  • 1 Minute to read
  • Dark
    Light
  • PDF

Edit INI file

  • Dark
    Light
  • PDF

Article summary

The Edit INI file action allows you to modify INI files. This could be used to edit configuration files for a package for example.

General
TypeEdit INI file
Name

Actions are easier to comprehend and manage over time when they have a suitable name that accurately expresses what they do.

FileThe path to the targeted file.
Actions tableHere you can add, set, update or remove the name and the value of a certain key, in a certain section of the .INI file.
Advanced
ContextThe level at which the action is executed, User or Device.
VariablesIf this option is selected, then variables are supported within the action.

Filters
Here you can define conditions which determine if the action will be executed. For more information, see Filters.

Agent

It requires the Agent to be running.

Supported platforms

PlatformSupported
WebNo
WindowsYes
macOSYes

Example

In the .INI file example below, we will change the 'secret_access' key of the 'dev' section from 'def2' to 'ghi2'.

[default]
access_id=abc
secret_access=def

[dev]
access_id=abc2
secret_access=def2

[prod]
access_id=abc3
secret_access=def3

When you create the Edit INI file action, in the General tab, click Create; in the Add action dialog box that opens, configure the following parameters:

  • Action: Update
  • Section: dev
  • Name: secret_access
  • Value: ghi2

Was this article helpful?