@echo off cd /d "%~dp0" copy /b "D:\1.txt"+"D:\2.txt" "3.txt"复制代码
@echo off cd /d "%~dp0" set /p str=<"D:\2.txt" > "3.txt" type "D:\1.txt" >> "3.txt" echo,%str%复制代码