- @echo off
- setlocal enabledelayedexpansion
- for %%i in (*.txt) do set cxs=%%i && ren !cxs! !cxs:b=bc!
- ren *.bcat *.bat
- endlocal
复制代码
其它的都还好懂,就是ren !cxs! !cxs:b=bc!不太好懂.........有哪位大侠能指点一下吗......能给个例子当然更好啦.........先谢了
[ 本帖最后由 wolonga123 于 2011-1-11 13:54 编辑 ] |