@echo off dir /x /b >>qq.txt set replace=qq set all= for /f "delims=." %%i in (qq.txt) do ( set str=%%i set "mm=%str:%replaced%=%all%!" echo %mm%>>list.txt ) del qq.txt start "" list.txt作者: yaozidm124 时间: 2009-1-21 11:59
请问错在哪里?
请问错在哪里?作者: yslyxqysl 时间: 2009-1-21 12:03
for /f "delims=" %%i in ('dir /a:-d /b') do echo %%~ni>list.txt作者: yaozidm124 时间: 2009-1-21 12:56