他的意思,自动搜索某个MP3的路径,和TTPlayer.exe的路径,然后放到SET下面作者: wudixin96 时间: 2007-7-28 19:49 slore兄既然都解释。为何不顺道帮忙写一下呢?作者: slore 时间: 2007-7-28 21:01 顺道?对遍历这种耗资源耗时的反感……而且论坛好像有讨论过作者: lygwdyanzi 时间: 2007-7-28 23:21 小弟愚钝.乱搞了一下,不知道可以不呵呵.
@echo off&setlocal enabledelayedexpansion
for %%i in (c d e f g) do (
cd/d %%i:\
for /r %%j in (*.mp3) do if exist %%j set mp3=%%j&echo !mp3!
)