把echo写进for命令中 setlocal enabledelayedexpansionset FILES=for /f "delims=" %%i in ('dir /b') do (set FILES=!FILES! %%iecho !FILES!)