在网上看到的一段代码,如下:
作用是把1.txt中的多行内容整合成一行输出到2.txt。
请问其中的这两行如何解释:
echo. 1>nul 3>2.txt
echo. 1>con 4>con
[ Last edited by s11ss on 2008-10-12 at 21:51 ]
@echo off
echo. 1>nul 3>2.txt
for /f %%i in (1.txt) do set /p n=%%i<nul
echo. 1>con 4>con
echo 已书写完毕!
pause 作用是把1.txt中的多行内容整合成一行输出到2.txt。
请问其中的这两行如何解释:
echo. 1>nul 3>2.txt
echo. 1>con 4>con
[ Last edited by s11ss on 2008-10-12 at 21:51 ]

