I am trying to process properties file and replace some of the properties.
While I managed to implement it
(for /F "tokens=1* delims=)" %%A in ('type "%file%" ^| find /V /N ""') do ( echo/%%B ... )) > result.txt
as a side effect, all exclamation marks (!) were removed from the result file. Is this a bug in Windows Batch or am I missing something?