INI File - Delete Section

Deletes a section from an INI file.

Action ID:
Action Category:
Action List Syntax:

19
INI File
INIFIle.DeleteSection (<<FILENAME>>, <<SECTION>>)

Settings

File name:

The full path to the INI file.

Section:

The section that will be deleted from the INI file. Only the section name is required in this field—you do not need the surrounding brackets. (For example, Data is correct as opposed to [Data].)

Error Codes

Value
(%LastErrorNum%)

Simple Message
(%LastErrorMsg%)

Verbose Message
(%LastErrorDetails%)

0 (OK)

 

 

1

MSG_ERR_INIFILE_MODIFY

MSG_ERR_INIFILE_MODIFY
MSG_ERR_FILE_NOT_FOUND
<<FILENAME>>

2

MSG_ERR_INIFILE_MODIFY

MSG_ERR_INIFILE_MODIFY
MSG_ERR_DELETE_SECTION
<<FILENAME>>

<<SECTION>>

Examples

None