Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
show 1 more comment

1 Answer

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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.