在网上看一些视屏,很喜欢,但是有些网站本身不提供下载功能,这时候只好求助于“ie缓存文件夹”这尊大神。求神必先请神,先请“工具”中位神,再请“internet选项”上位神,方有缘一求。
写个批处理犹如直摆大神牌位——要求,烧香即可!
@echo off
:hello
cls
echo 适用于win7
echo --------------------------------------------------------------------------
echo.
echo 1.复制IE缓存视屏音频文件到c:\IE缓存视屏
echo 2.移动文件到F:\MP3\各种视频
echo 3.删除IE缓存文件
echo.
echo --------------------------------------------------------------------------
set /p a=请输入(1 or 2 or 3):
goto %a%
:1
if not exist c:\IE缓存视屏\ md c:\IE缓存视屏
for /f "delims=" %%i in ('dir /s /b "%userprofile%\AppData\Local\Microsoft\Windows\Temporary Internet Files\*.flv"') do copy "%%i" c:\IE缓存视屏 &&ping 127.1 >nul
for /f "delims=" %%i in ('dir /s /b "%userprofile%\AppData\Local\Microsoft\Windows\Temporary Internet Files\*.wma" "%userprofile%\AppData\Local\Microsoft\Windows\Temporary Internet Files\*.mp3" "%userprofile%\AppData\Local\Microsoft\Windows\Temporary Internet Files\*.wav"') do copy "%%i" c:\IE缓存视屏 &&ping 127.1 >nul
echo 复制完毕
start "" "c:\IE缓存视屏"
pause
goto hello
:2
move /-y c:\IE缓存视屏\*.* F:\MP3\各种视频
echo 移动完毕
pause
goto hello
:3
del /f /s /q "%userprofile%\AppData\Local\Microsoft\Windows\Temporary Internet Files\*.*"
echo 删除完毕
pause
goto hello
写个批处理犹如直摆大神牌位——要求,烧香即可!
@echo off
:hello
cls
echo 适用于win7
echo --------------------------------------------------------------------------
echo.
echo 1.复制IE缓存视屏音频文件到c:\IE缓存视屏
echo 2.移动文件到F:\MP3\各种视频
echo 3.删除IE缓存文件
echo.
echo --------------------------------------------------------------------------
set /p a=请输入(1 or 2 or 3):
goto %a%
:1
if not exist c:\IE缓存视屏\ md c:\IE缓存视屏
for /f "delims=" %%i in ('dir /s /b "%userprofile%\AppData\Local\Microsoft\Windows\Temporary Internet Files\*.flv"') do copy "%%i" c:\IE缓存视屏 &&ping 127.1 >nul
for /f "delims=" %%i in ('dir /s /b "%userprofile%\AppData\Local\Microsoft\Windows\Temporary Internet Files\*.wma" "%userprofile%\AppData\Local\Microsoft\Windows\Temporary Internet Files\*.mp3" "%userprofile%\AppData\Local\Microsoft\Windows\Temporary Internet Files\*.wav"') do copy "%%i" c:\IE缓存视屏 &&ping 127.1 >nul
echo 复制完毕
start "" "c:\IE缓存视屏"
pause
goto hello
:2
move /-y c:\IE缓存视屏\*.* F:\MP3\各种视频
echo 移动完毕
pause
goto hello
:3
del /f /s /q "%userprofile%\AppData\Local\Microsoft\Windows\Temporary Internet Files\*.*"
echo 删除完毕
pause
goto hello