/
.ini File I/O Expression

.ini File I/O Expression

 

image-20241018-011408.png

 

 

ReadPrivateIni()

ReadPrivateIni

Reads items from a specific section within a specified file.

Function

Command

ReadPrivateIni(“Section”,”Item”,”File Name”)

Script

n=ReadPrivateIni(“Section”,”Item”,”File Name”)

Description

Reads items from a specific section within a specified file.

Example

Reads the “File1” Item in the “File” section of the “Backup.ini” file.

ReadPrivateIni("File","File1","Backup.ini")

 

 

WritePrivateIni()

WritePrivateIni

Enters a value in a specific item of a specific section within a specified file.

Function

Command

WritePrivateIni(“Section”,”Item”,”Value”,”File Name”)

Script

WritePrivateIni “Section”,”Item”,”Value”,”File Name”

Description

Enters a value in a specific item of a specific section within a specified file.

Example

Enters “TEST” in the “File1” item of the “File” section within the “Backup.ini” file.

WritePrivateIni("File","File1",”TEST”,"Backup.ini")

 

Related content

.ini 파일 입출력 명령식 설명
.ini 파일 입출력 명령식 설명
More like this
16.3 VB Script
More like this
Command and Script Functions List
Command and Script Functions List
More like this
Command and Script Functions List
Command and Script Functions List
More like this
Script Editor Information
Script Editor Information
More like this
Script Editor Information
Script Editor Information
More like this