I m不熟悉窗户,试图写上很少的MSWindows batch,以便支持火灾fox历史,但Im没有取得预期结果,把火ox史丢到档案中(此处没有执行),能够说明为什么以及如何解决。 相反,我把数据库放在一个新的窗口中。 这里是我迄今所做的工作:
碎窗户终端
start "TEST" sqlite.cmd
qlite.cmd
REM backup firefox history
setlocal
set DB_src=places.sqlite
set DB_dest=places1.sqlite
set FF_profile=C:Documents and SettingsUser_AApplication DataMozillaFirefoxProfiles1e6xxxxx.default
set SQLITE_EXE=C:Documents and SettingsAdmin_UserSoftWaresqlite3.exe
set SQLITE_SQL=C:Documents and SettingsAdmin_UserBureauqlite.sql
copy "%FF_profile%\%DB_src%" "%FF_profile%\%DB_dest%"
@echo off
start "%SQLITE_EXE%" "%FF_profile%\%DB_dest%" < "%SQLITE_SQL%"
endlocal
qlite.sql
.dump html
.output moz_places.html
SELECT moz_places.visit_count, moz_places.url FROM moz_places ORDER by visit_count DESC LIMIT 20;
[EDIT]:
Worked around :
- using the right sqlite query (updated in qlite.sql below)as for these examples.
- using the sql html output "moz_places.html" as I could not get the redirection work.
linux stuffs are easier for me...