Reference/ReadINIStr: Difference between revisions

From NSIS Wiki
Jump to navigationJump to search
(Created page with "=ReadINIStr= user_var(output) ini_filename section_name entry_name Reads from entry_name in [section_name] of ini_filename and stores the value into user variable $x. The erro...")
 
mNo edit summary
 
Line 6: Line 6:


<highlight-nsis>ReadINIStr $0 $INSTDIR\winamp.ini winamp outname</highlight-nsis>
<highlight-nsis>ReadINIStr $0 $INSTDIR\winamp.ini winamp outname</highlight-nsis>
''Command introduced with NSIS v1.2g''

Latest revision as of 20:21, 4 June 2013

ReadINIStr

user_var(output) ini_filename section_name entry_name

Reads from entry_name in [section_name] of ini_filename and stores the value into user variable $x. The error flag will be set and $x will be assigned to an empty string if the entry is not found.

ReadINIStr $0 $INSTDIR\winamp.ini winamp outname

Command introduced with NSIS v1.2g