sqlite3 的 Windows 命令提示符外壳 [英] Windows Command prompt shell for sqlite3

查看:36
本文介绍了sqlite3 的 Windows 命令提示符外壳的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

文档 指出 sqlite3 有一个命令行 shell:要启动 sqlite3程序,只需键入sqlite3",后跟保存 SQLite 数据库的文件的名称.当我尝试此操作时,在 Windows 命令提示符中,我收到错误消息'sqlite3' 未被识别为内部或外部命令,可运行的程序或批处理文件." Windows 资源管理器在不同位置显示了几个Sqlite3"文件夹:

Documentation states that there is a command-line shell for sqlite3: "To start the sqlite3 program, just type "sqlite3" followed by the name the file that holds the SQLite database." When I try this, in the Windows Command Prompt I get the error message "'sqlite3' is not recognized as an internal or external command, operable program or batch file." Windows explorer reveals several 'Sqlite3" folders in various places:

backends(C:/Python26/Lib/site-packages/django/db)
Lib(C:/Python26)
backends(C:/Django-1.1.1/Django-1.1.1/build/lib/django/db
backends(C:/Django-1.1.1/Django-1.1.1/django/db)

我如何访问 shell,有人可以帮忙吗?

How do I access the shell, can anyone help?

推荐答案

此处下载适用于 windows 的 sqlite3 二进制文件.解压缩并将其放在路径中的某个位置.

Download sqlite3 binary for windows here. Unzip it and put it somewhere in your path.

这篇关于sqlite3 的 Windows 命令提示符外壳的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆