.INI File

Why Trust Techopedia

What Does .INI File Mean?

An .INI file is a type of file that contains configuration information in a simple, predefined format. It is used by Windows OSs and Windows-based applications to store information about the user’s preferences and operating environment. These files are plain text files with a basic structure comprised of properties and sections.

Advertisements

It is pronounced as “dot in-ee” or simply “in-ee” file, where .ini signifies “initialization.”

Techopedia Explains .INI File

Format of .ini file:

Property: The basic element contained in an .ini file is a property. Each property includes a name and a value that are delimited using an “equals” sign (=). This is represented in the format “keyname=value”.

Section: The properties can be arranged into arbitrarily named “sections” in the file. Every section begins with a section header containing a section name in the square brackets. For example, “[section name]”.

Comment: The semicolons (;) used at the start of the line represent a comment. The commented lines are usually ignored.

Older versions of the Windows relied extensively on .ini files. Beginning from Windows 95, Microsoft started to strongly promote the usage of Windows registry instead of .ini files, which provides a centralized, reliable, extensible and efficient service, allowing application developers and system administrators to manage the configuration issues at hand. Later, the adoption of the Extensible Markup Language (XML) as a de facto standard for content description of configuration files allowed for many of the shortcomings of the simple .ini file to be addressed, for example, arbitrary nesting. Nevertheless, many current applications still use .ini files for backward compatibility with previous versions of Windows. Some configuration files use a different file extension, for example, .cfg, .conf, or even .txt, but the format is the same.

Advertisements

Related Terms

Margaret Rouse
Editor

Margaret jest nagradzaną technical writerką, nauczycielką i wykładowczynią. Jest znana z tego, że potrafi w prostych słowach pzybliżyć złożone pojęcia techniczne słuchaczom ze świata biznesu. Od dwudziestu lat jej definicje pojęć z dziedziny IT są publikowane przez Que w encyklopedii terminów technologicznych, a także cytowane w artykułach ukazujących się w New York Times, w magazynie Time, USA Today, ZDNet, a także w magazynach PC i Discovery. Margaret dołączyła do zespołu Techopedii w roku 2011. Margaret lubi pomagać znaleźć wspólny język specjalistom ze świata biznesu i IT. W swojej pracy, jak sama mówi, buduje mosty między tymi dwiema domenami, w ten…