PDA

View Full Version : How to read a string value in an ini file?


cchian
4th April 2001, 04:03
Is it possible to read the value of an ini string? I would like to obtain the value of data as in

[program]
data=f:\myprogram\data

tpr
22nd April 2007, 11:52
ReadINIStr $0 "C:\YOUR_INI_LOCATION\NAME.ini" "program" "data"

Now you have the value "f:\myprogram\data" in $0.

cchian
23rd April 2007, 13:56
Thanks for replying, I was able to figure it out some time ago. Anyways, someone else can always benefit from your post.