
CODE: [Copy to clipboard]这个也可以:@echo off
setlocal EnableDelayedExpansion
cd.>List.txt
for /f "tokens=1* delims= " %%i in ('help^|findstr "[a-z][A-Z]"') do (
if !N! GTR 0 (
echo !N! - %%i
>>List.txt echo %%i
>>List.txt echo.====================
>>List.txt cmd /c %%i/?
>>List.txt echo.
)
set /a N+=1
)
exit
CODE: [Copy to clipboard][ Last edited by zh159 on 2007-4-20 at 12:46 AM ]@echo off
setlocal EnableDelayedExpansion
cd.>List.txt
for /f "tokens=1* delims= " %%i in ('help^|findstr "[a-z][A-Z]"') do (
if !N! GTR 0 (
echo !N! - %%i
>>%%i.txt cmd /c %%i/?
)
set /a N+=1
)
exit
| 欢迎光临 中国DOS联盟论坛 (http://cndos.fam.cx/forum/) | Powered by Discuz! 2.5 |