@echo off
set file=
for /F %%A in ('dir /B *.phtml') do call :part2 %%A
goto end
:part2
set file=%1
ren %file% %file:~0,-6%.php
:end
可以用类似的方法稍稍复杂点
所有跟帖:
•
thanks, I will try it.
-extension~-
♀
(0 bytes)
()
06/16/2004 postreply
12:26:31