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.

According to this post, I run that command but a black page flashes and disappears. What should I do to see the result?

I rebooted but it doesn't take effect.

share|improve this question
    
Also, I hope you do realize that all of the commands from the mentioned post are supposed to be run on Linux? –  Andrejs Cainikovs Jan 30 '12 at 18:55
1  
@AndrejsCainikovs I assumed the user is referring to chkdsk as this self-closing-shell seemed more of a "Windows problem" to me. –  Oliver Salzburg Jan 30 '12 at 19:01
    
@OliverSalzburg You must be right. Thanks for clarification. –  Andrejs Cainikovs Jan 30 '12 at 21:52

2 Answers 2

up vote 5 down vote accepted
  • Press Win+R
  • Type cmd and press Enter
  • Type your command in the resulting window, it should stay open after the command has finished.

To run a command with elevated privileges (as Administrator), do the following (Vista/7 only):

  • Press Win
  • Type cmd and press Ctrl+Shift+Enter, confirm the following dialog by pressing "Yes".
  • Type your command in the resulting window, it should stay open after the command has finished.
share|improve this answer
    
Thank you for your answer. It says "access denied as you do not have sufficient privileges, you have to invoke this utility running in elevated mode". Could you please tell me what "elevated mode" is? –  Gigili Jan 30 '12 at 19:12
    
@Gigili I added additional instructions to my answer. –  Oliver Salzburg Jan 30 '12 at 19:16
    
That worked perfectly, thank you very much. –  Gigili Jan 30 '12 at 19:20

Instead of running

ping example.com

you can do

cmd /k ping example.com

and the cmd window will remain open. Generally i use "cmd /k " to run something and keep it open until i close it

share|improve this answer

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.