On windows XP, running Apatana Studio 3.
How do I open a windows command (i.e. *.bat) file for editing rather than executing ?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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.