编辑命令在Windows命令行中不起作用

问题描述:

我正在使用以下命令通过命令提示符打开和编辑文件。但在我的系统中不允许该文件编辑并返回错误。但在我的笔记本编辑器窗口打开编辑这个文件。编辑命令在Windows命令行中不起作用

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

是您在桌面和笔记本电脑上运行的Windows版本? – andrewdotnich 2013-02-25 04:14:11

+0

都有Windows 7 – user1951007 2013-02-25 04:48:49

我怀疑你的桌面上运行64位Windows 7,而你的笔记本电脑在运行32位Windows 7

*指出,MS-DOS编辑was/is a 16-bit applicationwouldn't run on 64-bit versions窗口。

参见:https://superuser.com/questions/237023/what-is-the-edit-command-for-64-bit-windows-7

+0

感谢您的回复。我怎样才能启用DOS编辑器在Windows 7 64位 – user1951007 2013-02-25 06:01:26

+0

你不能。它不会运行。检查我链接了一些替代品的超级用户问题,比如vim – andrewdotnich 2013-02-25 22:26:54