使用 Aptana 编辑 Windows 命令文件
在 Windows XP 上,运行 Apatana Studio 3。
如何打开 Windows 命令(即 *.bat)文件进行编辑而不是执行?
On windows XP, running Apatana Studio 3.
How do I open a windows command (i.e. *.bat) file for editing rather than executing ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在 ProjectExplorer 窗格中,您可以右键单击 .cmd 或 .bat 文件,然后选择 [打开方式 >文本编辑器]。
Aptana“记住”此设置,因此在 ProjectExplorer 窗格中双击此文件将继续打开该文件进行编辑。
要返回执行模式,请再次右键单击,但选择 [打开方式 >默认编辑器]。这是一个可怕的标签选择 - 即 Aptana 的 .cmd、.bat 文件的默认编辑器实际上运行它们 - 它不会编辑它们。
如果有人阅读知道更好的方法,请发表评论。
From the ProjectExplorer pane, you can right click a .cmd or .bat file and select [Open With > TextEditor].
Aptana "remembers" this setting, so double clicking this file in the ProjectExplorer pane will continue to open the file for editing.
To go back to execute mode, right-click again but select [Open With > Default Editor]. That's a horrible choice of labelling - i.e. Aptana's Default Editor for .cmd,.bat files actually runs them - it doesn't edit them.
If anyone reading knows a better way, pls comment.