复制代码 代码如下:
@echo off
:: by SKB
::说明----将文本中的所有内容无规则打乱顺序排列
@echo off
if "%1" neq "$" (
for /f "tokens=2 delims=#" %%a in ('"%~0" $^|sort') do echo %%a
pause>nul
) else for /f "delims=" %%i in (test.txt) do call echo %%random:~-1%%%%random:~-1%% #%%i
@echo off
:: by SKB
::说明----将文本中的所有内容无规则打乱顺序排列
@echo off
if "%1" neq "$" (
for /f "tokens=2 delims=#" %%a in ('"%~0" $^|sort') do echo %%a
pause>nul
) else for /f "delims=" %%i in (test.txt) do call echo %%random:~-1%%%%random:~-1%% #%%i