I use Windows 7, Thank you very much, but sorry to say... i was too short, indeed my code is like this:
for /f "delims=" %%i in (MyFile.TXT) do echo.%%i|find "ABC" >> NewFile.TXT
and the line in the file contains 123>asd\678
and of course i get error: The system cannot find the path specified.
because >asd\ is interpreted as redirecting to a path that of course does not exist.
Thanks, any idea?