Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there any difference between executing a command from an open command prompt and the run dialog (Win + R)?

What are the pros and cons of each and when should I use one over the other?

share|improve this question
1  
The main difference is that the console window will stay open after whatever you're doing finishes. – martineau Jul 13 '12 at 13:54
    
Thanks, Is there any advantages to use specific between them – 4M01 Jul 13 '12 at 14:10
    
It would be a lot easier to answer this question if you used actual words instead of ampersands and abbreviations and specify relevant information such as the OS. CMD is a key on Apple keyboards. I had to read this question thrice to finally understand it. – Dennis Jul 13 '12 at 14:11
1  
Well, if the window stays open you'll have a better chance to see any output that may have been generated (as well as the opportunity to do something else by typing in another command). – martineau Jul 13 '12 at 14:12
1  
@Dennis: The (Win+R) is a major clue... – martineau Jul 13 '12 at 14:14
up vote 3 down vote accepted

CMD

Advantages

  • Run commands concurrently
  • View output from programs
  • Window stays open when commands complete
  • Extremely flexible

Disadvantages

  • Slower to use than run
  • Unnecessary for commands with no output.

Run

Advantages

  • Quickly run single commands

Disadvantages

  • Often cannot see the output of commands
  • A new window has to be opened for each new command.
share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .