@echo off
::输出当前时间和日期
echo %date%%time% >>D:\scripts\cleanfirefoxhistory.log
::查找E:\XA65DATA\AppFolders文件夹及其子文件夹下所有后缀名为.sqlite文件并输出重定向到D:\scripts\cleanfirefoxhistory.log
for /r E:\XA65DATA\AppFolders\ %%a in (*.sqlite) do echo %%a >>D:\scripts\cleanfirefoxhistory.log
::进入E:\XA65DATA\AppFolders\文件夹下面
cd /d "E:\XA65DATA\AppFolders"
::循环删除E:\XA65DATA\AppFolders\%%i\Application Data\Mozilla\Firefox\Profiles\文件夹机器子文件夹下所有后缀名为.sqlite文件
for /f "delims=" %%i in ('dir /ad/b') do del /q/s/f "%%i\Application Data\Mozilla\Firefox\Profiles\*.sqlite"
文章标题:清理清理火狐历史记录
转载来源:
http://jkwzsj.com/article/gojoco.html