hey all
i have a batch file that copy a certain value from specific ini file
set filename=filename
it goes like this:
for /f "tokens=1,2 delims==" %%a in (%filename%) do (
if %%a=value set value=%%b
)
echo %filename% %value%
i have a dir full with ini files, and i want the batch will copy the same value from all of those file, and copy the the file name and the value into a one text filethanks a lot!!

for %%j in (*.ini) do ( for /F "tokens=1,2 delims==" %%a in (%%j) do ( if "%%a"=="value" echo.%%j %%b >> "result.txt" ) )
