How do I open a Windows Command Prompt in my console?
Author: Deron Eriksson
Description: This tutorial describes how to open a Command Prompt in the Eclipse Console view.
Tutorial created using: Windows XP || JDK 1.5.0_09 || Eclipse Web Tools Platform 1.5.1


Page: < 1 2

(Continued from page 1)

You can end the Command Prompt session by clicking the red Terminate button (or by typing 'exit' at the prompt).

Terminating Command Prompt

Now, you can open a new Command Prompt console window by selecting the External Tool launch configuration in the External Tools menu.

Command Prompt in External Tool menu

As I mentioned above, I don't recommend doing things like opening windows from this embedded Command Prompt. For instance, on my machine, if I tried opening a Notepad window from this console prompt, it at first doesn't open Notepad, but then Notepad later appears after I enter another couple commands. If I then tried to terminate the Command Prompt, I run into problems unless I close the Notepad window first. So I definitely recommend keeping things simple if you use this technique. It works fine for things like listing directories and stuff like that.

Page: < 1 2