0

Windows XP でコマンド プロンプトを使用して SQLite Expert データベースを開くにはどうすればよいですか? 私のデータベース ファイル拡張子は s3db で、SQLite Expert exe ファイル名は SQLiteExpertPers.exe です。

4

1 に答える 1

0

Open a shell. (Start | Run, type cmd, and push the "Ok" button.)

Change to the drive and directory your SQLite database is in. If your database is in "My Documents", you'd type

cd "\Documents and Settings\YourLoginName\My Documents"

and hit the [Enter] key.

If you're joined to a Windows domain, you'd type

cd "\Documents and Settings\YourLoginName.YOURDOMAIN\My Documents"

Then run SQLite3, and give it the name of your database.

sqlite3 YourDatabase.s3db

The error message

'sqlite3' is not recognized as an internal or external command, operable program or batch file.

means sqlite3 is not in your path. Either provide the full path to sqlite3.exe

"c:\Program Files\SQLite\sqlite3.exe YourDatabase.s3db"

or change the path setting (Control panel, System, "Advanced" tab, "Environment Variables" button).

Once you're in, type .tables at the sqlite prompt to make sure you're in the right database.

于 2012-04-15T11:35:36.970 に答える