9

in recent release of windows 10 command prompt microsoft have placed ctrl c and ctrlv ,in older versions we used to stop command prompt execution by pressing ctrlc

In recent release of windows 10 command prompt cant stop the execution..any other alternatives ?

4

CTRL+C will send a break (stop execution) when no text is selected. Try it ;-)

Reference

| improve this answer | |
  • but for e.g take a traceroute press ctrl c the command execution doesnt stop.. – BlueBerry - Vignesh4303 Jul 12 '15 at 8:39
  • @BlueBerry-vignesh4303 Even if you press CTRL+C twice? – misha256 Jul 12 '15 at 8:46
  • @BlueBerry-vignesh4303 you have to wait for all threads to terminate and all hardware calls to finish. Traceroute can't just close all hardware connections, it has to wait until all devices have finished their job (in this case only the network adapter/controller) – GiantTree Jul 12 '15 at 8:46
  • @GiantTree Hmm, in all my tests tracert terminates immediately upon CTRL+C. Interesting... – misha256 Jul 12 '15 at 9:02
  • 2
    Another command to break is CTRL + break/pause. It breaks in a different way than CTRL + C does, but it might work too. – LPChip Jul 12 '15 at 11:18
4

I had the same thing happening with Ctrl+C not stopping the Tracert process. However Ctrl+Pause/Break did.

This was on Windows 10 build 1709 with updates current as of 06-27-2018. I suspect whatever is going on will be machine specific for some odd reason.

| improve this answer | |
  • This solved it for me in Anaconda Prompt. In normal CMD on win10, ctrl+c worked, but there I had to use Ctrl+Break. I can confirm that it is machine dependent - it does not happen on my laptop with win10 – lucidbrot Sep 21 '18 at 13:06
  • And what is Pause/Break button?? Where can I find it on a non-English keyboard? – Elias Mar 16 at 9:13
  • Oh, I got it. It's the Shift key on the right hand side of my hp laptop keyboard!! I have already found out from HP Community Forum that for hp laptops, you can press "fn" key and then the Shift. So, the correct combination which worked for me on windows 10 was: Control + fn+Shift(right-hand side) – Elias Mar 16 at 13:45
2

best way seems (thanks to @LPChip):

CTRL+ Break(pause)

| improve this answer | |
  • That key no longer exists on the new ThinkPad keyboard layout :( – paradroid Jun 18 '17 at 18:07
  • It worked for me pressing CTRL + (fn + right-hand-side shift) on my hp laptop with windos 10. – Elias Mar 16 at 9:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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