- 帖子
- 10
- 积分
- 192
- 技术
- 0
- 捐助
- 0
- 注册时间
- 2008-12-5
|
目的:显示当前文件夹下的文件,不显示扩展名 ,输出到list.txt里面!
@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 |
|