I have a requirement where i'd like to read values from a .properties file
my properties file test.properties content
test.properties
file=jaguar8 extension=txt path=c:\Program Files\AC
From the above file I need to fetch jaguar or anything after =
jaguar
=
Please help me. Thanks
For /F "tokens=1* delims==" %%A IN (test.properties) DO ( IF "%%A"=="file" set file=%%B ) echo "%file%"
hope this could help