While developing the Selenium WebDriver test automation scripts, the scripts are executed within Eclipse.
But as soon as the scripts work as expected, you may want to make the scripts available to other team members.
Like other manual testers.
You may also want to run the test scripts automatically as scheduled jobs.
Or use them in a continuous integration process.
All these require the ability of running the test scripts in the Command Prompt.