自己写了不少代码,也看了不少。但怎么书写的都有,有的很乱,不知道批处理有无标准的书写格式,xml和delphi等语言都有个标准格式html我也知道。
如:
@echo off
for /f "tokens=1-2" %%a in (test.txt) do (
(echo %%a %%b )>>test2.bat
)
@echo off
for /f "tokens=1-2" %%a in (test.txt) do (
(echo %%a %%b )>>test2.bat
)
第2行(echo 应该空2个格还是空4个格,还是不空格啊?
如:
@echo off
for /f "tokens=1-2" %%a in (test.txt) do (
(echo %%a %%b )>>test2.bat
)
@echo off
for /f "tokens=1-2" %%a in (test.txt) do (
(echo %%a %%b )>>test2.bat
)
第2行(echo 应该空2个格还是空4个格,还是不空格啊?
