Let's say, configuration list in config.ini is as:
abc=abc a=a localpath=D:localpath
To read the key-value, we create a test.bat:
@echo off setlocal enabledelayedexpansion for /f "delims=" %%i in ('type "config.ini"^| find /i "="') do set %%i echo %a% echo %abc% echo %localpath%
Drop config.ini and test.bat to the same folder then run test.bat from command prompt you'll see the result.