@echo offecho %%>>1.txtecho %%>># for /f "delims=" %%a in (1.txt) do ( if "%%a" neq "123" ( if "%%a" neq "abc" echo %%a ))>>#move # 1.txt