How to open BAT (windows batch) file in Eclipse?
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
The ShellEd plugin doesn't seem to be for Windows BAT files--only Linux/Unix shell languages.
Going to Preferences->General->Editors->File Associations is how to have Eclipse open BAT files in a text editor, though.