now i want to remove two instances of line “This is me” and retain just one line. please suggest how should i do it using .bat file
Thanks
Rahul
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
:: no dups
:: rahul.bat Tue 05-06-2012 9:20:52.14
@echo off > newfile & setLocal enableDELAYedeXpansioN
for /f “tokens=* delims= ” %%a in (myfile) do (
find “%%a” < newfile > nul || >> newfile echo.%%a
)
::====== script ends here =================
=====================================
Life is too important to be taken seriously.
M2