I am trying to delete all lines starting with either GBP or USD , and also delete first line using batch script.I am using the below code which is not working as expected.
@echo off > data1.csv & setLocal enableDELAYedexpansion
for /f "tokens=* delims= " %%a in (data.csv) do (
>> data1.csv echo.!s!