@echo off&setlocal enabledelayedexpansion
set "paths=G:\文件\九\0501\06.21\2010-10套-目的地-1-10"
for %%a in (%paths%) do (
set "str=%%~na"&set "str=!str:-=.!"
for %%a in (!str!) do (
s ...
batman 发表于 2011-6-26 17:33
@echo off
cd /d G:\
for /r /d %%i in (*-*-*) do (
set _path=%%i
setlocal enabledelayedexpansion
for /f "tokens=1,2 delims=?" %%i in ("!_path:-=\!\..?!_path:-=\!") do (
for /l ...
tmplinshi 发表于 2011-6-26 17:48