|
GetINI Version 1.3 David Clarke January 2002
Download here
GetINI reads a value from a Windows .INI style file and assigns
that value to an environment variable.
Syntax: MyName FileName Section Item <EnvLabel>
|
Where: |
FileName Name of the .INI file to be read |
| |
Section String inside brackets [] indicating the .INI
section |
| |
Item String on the left side of the equals sign |
| |
EnvLabel Name of environment label to store result in -
Optional |
The result is returned in a DOS environment variable with the same name
as the "Item" variable unless "EnvLabel" is specified.
If the result contains a DOS environment label then it is expanded
Return Codes:
9 Incorrect number of parameters parsed
8 INI file not found
7 Section not found in INI file
6 Item not found in INI file
0 Sucess
|