INI是什么文件

解决方案 »

  1.   

    INI中一般放有应用程序的初始化文件,做一些相应的配置.
    我只知道这么一点
      

  2.   

    简单讲和文本文件没什么差别,不过存取要方便得多
    IniFile Table
    The IniFile table contains the .ini information that the application needs to set in an .ini file. The IniFile table has the following columns.Column Type Key Nullable 
    IniFile Identifier Y N 
    FileName Text  N 
    DirProperty Identifier  Y 
    Section Formatted  N 
    Key Formatted  N 
    Value Formatted  N 
    Action Integer  N 
    Component_ Identifier  N 
    Columns
    IniFile 
    The key for this table. 
    FileName 
    The localizable name of the .ini file in which to write the information. 
    DirProperty 
    Name of a property having a value that resolves to the full path of the folder containing the .ini file. The property can be the name of a directory in the Directory table, a property set by the AppSearch table, or any other property that represents a full path. If this field is left blank, the .ini file is created in the folder having the full path specified by the WindowsFolder property. 
    Section 
    The localizable .ini file section. 
    Key 
    The localizable .ini file key within the section. 
    Value 
    The localizable value to be written. 
    Action 
    The type of modification to be made. Constant Hexadecimal Decimal Modification 
    msidbIniFileActionAddLine 0x000 0 Creates or updates a .ini entry. 
    msidbIniFileActionCreateLine 0x001 1 Creates a .ini entry only if the entry does not already exist. 
    msidbIniFileActionAddTag 0x003 3 Creates a new entry or appends a new comma-separated value to an existing entry. 
    Component_ 
    External key into the first column of the Component table referencing the component that controls the installation of the .ini value. 
      

  3.   

    ini是系统配置文件,在WINDOWS的以前版本中有大量的INI文件,现在已经被注册表所代替了。INI文件不能超过64K的。其中保存了系统设置的信息。
      

  4.   

    無非是用於保存程序中的一些數據,包括[section],下面是鍵值key=???,有一套api函數提供對ini文件的存取,如GetPrivateProfileInt等
      

  5.   

    INF File Format Reference
    The following sections describe the syntax and meaning of the items used in each type of INF file section. INF files must follow these general rules: Sections begin with the section name enclosed in brackets. 
    A Version section must be included in any INF file formatted for Windows 95 and Windows NT 4.0. The Version section contains information about the INF file itself. 
    Values may be expressed as replaceable strings using the form %strkey%. To use a % character in the string, use %%. The strkey must be defined in a Strings section of the INF file. 
    The following INF sections can be used with the setup functions to create an installation application. For information about INF sections used to install device drivers see the DDK Programmer's Guide.[Version] 
    [Install] 
    [Add Registry]  
    [Copy Files]  
    [Delete Registry]  
    [Delete Files] 
    [INI File to Registry] 
    [Rename Files] 
    [Update INI Fields] 
    [Update INI File] 
    [Services] 
    [Service Install] 
    [DestinationDirs] 
    [SourceDisksFiles] 
    [SourceDisksNames] 
    [EventLog Install] 
    [Strings] 
     
      

  6.   

    u can get more via MSDN  :)