| **Navigation:**  [[abc library reference.htm|ABC Library Reference]] > INIClass > INIClass Properties >====== FileName {{c6h0009.jpg|C6H0009.jpg}} ====== | [[iniclass properties.htm|{{btn_prev_n.gif|Previous page}}]][[abc library reference.htm|{{btn_home_n.gif|Return to chapter overview}}]][[iniclass methods.htm|{{btn_next_n.gif|Next page}}]] | | || | | **FileName** | **CSTRING(File:MaxFilePath)** | {{blk2blue.jpg|blk2blue.jpg}} The **FileName **property contains the name of the managed storage medium (INI file or system registry key). The INIClass methods use the FileName property to identify the storage medium. If a full path is specified, and the INIClass Init Method has specified INI file storage, the INIClass looks for the file in the specified path. If no path is specified, the INIClass looks for the file in the Windows directory. If no name is specified (''), the INIClass uses the WIN.INI file. For example: | **FileName Property** | **Resulting INI File** | | ' ' | c:\Windows\WIN.INI | | 'invoice.cfg' | c:\Windows\invoice.cfg | | '.\invoice.cfg' | //current directory//\invoice.cfg | | 'c:\invoice\invoice.cfg' | c:\invoice\invoice.cfg | If the INIClass Init Method has specified system registry storage, the INIClass looks for the specified registry key. The Init method sets the contents of the FileName property. **Implementation:** The INIClass methods use the FileName property as the file parameter in [[getini return ini file entry .htm|GETINI]] and [[putini set ini file entry .htm|PUTINI]] statements. See the //Language Reference// for more information. **See Also:**     [[init initialize the iniclass object .htm|Init]]