# GetProfileString()

Gets an initialization file entry.

An initialization file assigns values to configuration variables, also known as entries, that are set when the system boots, the operating system comes up, or an application starts.

Returns the entry - if no value, returns an empty string.

```
GetProfileString( iniPath=string, section=string, entry=string );
```

**Returns:** string

# Arguments

| Argument | Type | Required | Description | Default |
|----------|------|----------|-------------|---------|
| iniPath | string | Yes | Absolute path (drive, directory, filename, extension) of initialization file; for example, C:\\boot.ini |  |
| section | string | Yes | Section of initialization file from which to extract information |  |
| entry | string | Yes | Name of value to get |  |

# Examples

*There are currently no examples for this function.*







# Categories

[File handling](../../categories/files.md)

# See Also

[GetProfileSections()](getprofilesections.md), [SetProfileString()](setprofilestring.md)