
| Quote: | |
|
| Quote: | |
|
| Quote: | |
|
| Quote: | |
|
CODE: [Copy to clipboard]@echo off&setlocal enabledelayedexpansion
if not "%1"=="★" (
for /f "tokens=1,3*" %%a in ('%~s0 ★^|sort') do (
if defined %%a set ★%%a=%%c
set %%a=%%b)
for /f "tokens=2 delims==" %%a in ('set ★') do move "%%a" C:\456\
) else (
for %%a in (c:\123\*.txt) do (
set/a n+=1&&set/p x!n!=<%%a
call :time "%%a"
call set x!n!=%%x!n!%% %%a)
for /l %%a in (1,1,!n!) do echo !x%%a!)
goto :eof
:time
for /f "delims=]" %%a in ('findstr "\<\][0-9]*\>" %1') do (
call set x!n!=%%x!n!%% %%a)
| Quote: | |
|
| 欢迎光临 中国DOS联盟论坛 (http://cndos.fam.cx/forum/) | Powered by Discuz! 2.5 |