Issue
How to open BAT (windows batch) file in Eclipse? When I am doing Open File...
the file runs, not opens. How to open it in editor?
Dragging file on Eclipse also runs it.
Solution
try with this plugin: http://sourceforge.net/apps/trac/shelled/
And also I think you chould go to preferences->general -> editors->file associoations and add bat to the list
Answered By - npocmaka