返回列表 发帖
3# ab362425

那个换行符没必要,因为它没有配套的回车符,在txt中无法直接显示,需要这样:
@echo off
echo  @^
@>1.txt
more 2.txt>1.txtCOPY


在win7下,也可以用wmic获取回车符:
@echo off
setlocal enabledelayedexpansion
set x0A=^
for /f %%a in ('wmic os') do set x0D=%%a
echo @!x0D!!x0A!@>1.txtCOPY

TOP

返回列表