@echo off
for /f "delims== tokens=2" %%n in ('findstr "lastTransactionTime" "c:\temp\transaction.txt"') do set "lastTransactionTime=%%n"
set "lastTransactionTime=%lastTransactionTime:~1%"
set ¨lastTransactionTime=%lastTransactionTime:ms=%"
echo %lastTransactionTime%