Board logo

标题: echo off关闭回显的问题 [打印本页]

作者: chen8919043     时间: 2010-5-22 21:22    标题: echo off关闭回显的问题

有的时候不加关闭回显命令会把会把调试命令的过程输入结果里面。
@echo off
(for /f "delims=" %%a in (1.txt) do echo.%%a|findstr /ibv "SERVER_IP="||echo.SERVER_IP="123.456.789.123")>$&&move $ 1.txt


(for /f "delims=" %%a in (1.txt) do echo.%%a|findstr /ibv "SERVER_IP="||echo.SERVER_IP="123.456.789.123")>$&&move $ 1.txt

作者:Hanyeguxing

输出的结果是不一样的?这是什么原因呢?
作者: Hanyeguxing     时间: 2010-5-22 22:02
这就是@echo off存在的原因
作者: basswood     时间: 2010-5-25 09:58
有时是有这种问题....