本帖最后由 ytyyutianyun 于 2012-9-8 20:43 编辑
代码如下:- @echo off
- cd.>list.txt
- for /f "delims=" %%i in ('dir /a-d /b *.txt') do (echo %%i)>>list.txt
- echo.>>list.txt
-
- md "20"
- for /f "delims=" %%j in (step.txt) do (
- for /f "delims=" %%k in ('findstr /c:"%%j"
-
- list.txt') do (
- move "%%k" "20"
- )
- )
- pause
复制代码 出现“'findstr' is not recognized as an internal or external command, operable program or batch file.”,求指导,谢谢 |