0

In Ubuntu when running a script of some kind from the CLI I can press Ctrl+C to interrupt or Ctrl+Z to sleep that script. Is there an equivalent function in Windows 7? Those keys don't work in Windows and all of my googling reveals how to interrupt with code inside a bash script which isn't what I need.

1
  • Specifically which kind of script are you running? Does CTRL-C not work form ANY (kind) of script? Mar 31, 2014 at 16:12

1 Answer 1

3

Ctrl+C is indeed the standard way to interrupt the running of a command line script, in Windows 7 too. This is confirmed by 21 Command Prompt Tricks and Hacks.

According to Wikipedia, the usage stems from CP/M.

2
  • 3
    And Control+Break of course.
    – JdeBP
    Mar 31, 2014 at 16:48
  • I went to go try it again after reading that and it worked. No idea what was going on, after a year of wishing that it worked... it suddenly does. Thanks for the response.
    – avorum
    Apr 1, 2014 at 2:14

You must log in to answer this question.

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