Changing the content of a INI File

From OS2World.Com Wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Article Info
Author Martin Iturbide
Date 2015‎-07-03
OS Version eComStation 2.1
Companion File N/A
Source N/A

On this article I learned and documented how to change an INI file on OS/2 and eComStation. A INI file is not a text file, so it requires a special software to edit it.

Remember first:

  • Backup your INI files first.
  • Make sure that the INI files are not "read only" before edit them.

Now let's look at an example:

INI Tools

For this example I tried INIEditor from INI Tools and editing the file IBMLVL.INI to change some PATHS.

First I open the program and open the IBMLVL.INI file:

Then, I click on the "Lock" icon, so the options to edit the INI shows up.

Later I just select the field that I want to update and click the "Edit Icon". A little window will show up at the bottom allowing you to change the value.

After that, there is a "Save" button at the bottom-right that will save the change and close the little edit window that shows up.

That's all.

Troubleshoot

What if value does not change? If I change the value with the tool, but when I open the INI again it is changed?

It may be possible that the INI file is "Read Only". So check the attributes of the file and remove the "read only".