Read ini from windows batch file

Posted by Hintswen on Stack Overflow See other posts from Stack Overflow or by Hintswen
Published on 2010-05-19T13:55:53Z Indexed on 2010/05/19 14:00 UTC
Read the original article Hit count: 926

Filed under:
|
|
|

I'm trying to read a ini file with this format:

[SectionName]
total=4
[AnotherSectionName]
total=7
[OtherSectionName]
total=12

Basically I want to echo out certain values from the ini file(eg. the total under OtherSectionName followed by the total from AnotherSectionName).

© Stack Overflow or respective owner

Related posts about dos-batch

Related posts about batch