color 0e
@echo off
cls
title 移动IE临时文件夹flv文件
set filenum=0
set 路径=%userprofile%\Local Settings\Temporary Internet Files
echo 当前指定路径为 %路径% 要指定其他路径请用记事本打开此批处理文件修改路径
set filetype=flv
if not exist %filetype% md %filetype%
for /f "delims=" %%i in ('dir "%路径%\*.%filetype%" /a-d /od /s/b') do move /y "%%i" "%CD%\%filetype%\" && set /a filenum+=1
color 0a
echo.&echo.
echo.&echo.
echo.&echo.
echo 成功移动%filenum%个文件到%filetype%文件夹
pause>nul
goto :eof
要移动其他类型文件只要把set filetype=flv中flv改为此类型
@echo off
cls
title 移动IE临时文件夹flv文件
set filenum=0
set 路径=%userprofile%\Local Settings\Temporary Internet Files
echo 当前指定路径为 %路径% 要指定其他路径请用记事本打开此批处理文件修改路径
set filetype=flv
if not exist %filetype% md %filetype%
for /f "delims=" %%i in ('dir "%路径%\*.%filetype%" /a-d /od /s/b') do move /y "%%i" "%CD%\%filetype%\" && set /a filenum+=1
color 0a
echo.&echo.
echo.&echo.
echo.&echo.
echo 成功移动%filenum%个文件到%filetype%文件夹
pause>nul
goto :eof
要移动其他类型文件只要把set filetype=flv中flv改为此类型
