本帖最后由 shelluserwlb 于 2014-12-27 14:15 编辑
- @echo off
- set "hd=c d e f g h i j k l m n o p q r s t u v w x y z"
-
- echo 正在移动mp3文件,请稍候...
- (for %%i in (%hd%) do (
- if exist %%i: call :1 %%i
- ))>mp3file.txt
-
- for /f "delims=" %%i in (mp3file.txt) do (
- move "%%i" f:\my
- )
- del /q mp3file.txt
- echo 移动完毕!
- pause
- goto :eof
-
- :1
- for /r %1: %%a in ("*.mp3") do echo %%a
- goto :eof
复制代码
|