批量文本读取合拼 2015/03/27 13154 @echo off for %%f in (host_files\*) do ( for /f "delims=" %%s in (%%~f) do ( echo.%%s >> hosts ) echo. >> hosts )