>>971 バッチだとこんな感じ。文字コードが同じでないと化ける
@echo off
if not "%~1"=="" if not "%~2"=="" goto :ARGS_OK
echo Usage: this.bat "outfile" "sorcefile"[ "sorcefile"[ ...]]
pause &exit /b
:ARGS_OK
set "DEST=%~1"
if not exist "%DEST%" copy nul "%DEST%"
shift /1
:MERGEFILES
>>"%DEST%" echo %~n1
copy /y "%DEST%" + "%~1" "%DEST%"
>>"%DEST%" echo=
shift /1
if not "%~1"=="" goto :MERGEFILES
echo done.
pause&exit /b