WHY 当前离线
上校
@echo off PowerShell "$arr = gc 1.txt -ReadCount 0; sc 2.txt -Value ($arr -join ' ')" pause复制代码
评分人数
TOP
@echo off ( for /f %%i in (1.txt) do ( if defined s ( setlocal enabledelayedexpansion set /p "=!s! " endlocal ) set "s=%%i" ) setlocal enabledelayedexpansion echo;!s! ) < nul > 2.txt pause复制代码