My Technology Reference

Run a Command Prompt from Eclipse platform

Posted in Microsoft Windows, ruby on rails, Web by DK on February 28, 2010

I recently started using RadRails which is built on Eclipse. Yes, I have started learning Ruby On Rails and I am really excited. After few hours of use I realized that you can’t run windows command prompt commands from Eclipse. I think its very helpful to be able to run windows commands directly from Eclipse. Here are the steps to do that:

  • Start Eclipse
  • Click Run –> External Tools –> External Tools Configurations
  • Click on New launch configuration and fill out following:
    • Name: Command Prompt
    • Location: ${env_var:comspec}
  • Click Apply
  • Click Run

This should get you set to run command prompt. You can run it from Run External Tools.