
CODE: [Copy to clipboard][ Last edited by 523066680 on 2009-9-14 at 23:10 ]@echo off
for %%a in (
"380009 : 5566乐队-It's Our Party "
"380013 : 5566乐队-传说"
"380016 : 5566乐队-冷风过境"
) do (
set now=%%a
call :next %%now: : =" "%%
)
pause
exit
:next
echo %~2>%1
type %1
| Quote: | |
|
| Quote: | |
|
CODE: [Copy to clipboard][ Last edited by 523066680 on 2009-9-15 at 00:18 ]@echo off
for %%a in (
"380009 : 5566乐队-It's Our Party "
"380013 : 5566乐队-传说"
"380016 : 5566乐队-冷风过境"
) do (
set now=%%a
call :next %%now: : =" "%%
)
pause
exit
:next
for /f "tokens=1 delims=:" %%a in ('findstr /p /c:%1 *') do (
echo,%~2>%%a
echo,%%a
)
CODE: [Copy to clipboard]@echo off
for %%a in (
"380009 : 5566乐队-It's Our Party "
"380013 : 5566乐队-传说"
"380016 : 5566乐队-冷风过境"
) do (
set now=%%a
call :next %%now: : =" "%%
)
pause
exit
:next
for /f "tokens=1 delims=:" %%a in ('findstr /p /c:%1 *') do (
if "%%a"=="%~nx0" (goto :eof)
echo,%~2>%%a
echo,%%a
)
| Quote: | |
|
| 欢迎光临 中国DOS联盟论坛 (http://cndos.fam.cx/forum/) | Powered by Discuz! 2.5 |