本帖最后由 ygqiang 于 2014-12-27 21:19 编辑
解决了。。。- md c:\my
- echo 本地磁盘:
- for %%a in (C D E F G H I J K L M N O P Q R S T U V W X Y Z) do (
- fsutil fsinfo drivetype %%a: | find "固定">nul && (echo %%a) && (
-
- for %%b in (mp3 mp5) do (
- for /f "delims=" %%i in ('dir /b /s /a-d %%a:\*.%%b') do (
- copy /y "%%~fi" c:\my
- )
-
- )
-
- )
- )
复制代码
|