windows 命令提示符下的 sqlite-无法识别的命令
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/10388354/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
sqlite from command prompt- not recognized command
提问by user575219
I am trying to run sqlite from the command prompt. So I have this downloaded sqlite-shell-win32-x86-3071100.zip from this website http://www.sqlite.org/download.html
我正在尝试从命令提示符运行 sqlite。所以我从这个网站http://www.sqlite.org/download.html下载了这个 sqlite-shell-win32-x86-3071100.zip
Now there is a set up.exe from which v can run sqlite commands. When I say
现在有一个 setup.exe,v 可以从中运行 sqlite 命令。当我说
C:\Users\..>'sqlite3' is not recognized as an internal or external com
''sqlite3'' is not recognized as an internal or external command,
operable program or batch file.
Any hints.
任何提示。
Thank you Sun
谢谢孙
采纳答案by user575219
From your windows command prompt, you can start sqlite3 either with:
在 Windows 命令提示符下,您可以使用以下任一方式启动 sqlite3:
cd c:\Stuff
sqlite3.exe
or with:
或与:
c:\Stuff\sqlite3.exe
Either way, I assume from your comment that sqlite3.exe
is in c:\Stuff
.
无论哪种方式,我从你的意见,即认为sqlite3.exe
是c:\Stuff
。
As Michael mentioned, you can also add the path of the directory containing sqlite3.exe
to your PATH
. Fro a quick search I found this guide: http://geekswithblogs.net/renso/archive/2009/10/21/how-to-set-the-windows-path-in-windows-7.aspx
正如迈克尔提到的,您还可以将包含的目录的路径添加sqlite3.exe
到您的PATH
. 通过快速搜索,我找到了本指南:http: //geekswithblogs.net/renso/archive/2009/10/21/how-to-set-the-windows-path-in-windows-7.aspx