I am trying to get some text from a file and displaying it. When I print the values I am getting only last line of file two times.
for /F %A in (E:\auto_s3\fol.txt) do (
setlocal
set m=%A
setlocal
set k=%m:~1,-1%
echo %k%)
fol.txt
//LogShare/sapbatch01/audit-sapbatch01
//LogShare/sapdial18/audit-sapdial18