0

There is two commands in Windows Server, kill and taskkill that seems to have similar functionality. But I want to know their exact differences and their usages.

Can anyone explain it?

2
  • There is no native 'kill' command in Windows.
    – Greg Askew
    Aug 1, 2016 at 16:28
  • But I can use such command in CMD. It looks like kill command in linux (its options are prefixed by dash). Where does it come from?
    – Ahmad
    Aug 1, 2016 at 18:17

1 Answer 1

5

As Greg said, Windows doesn't have a native kill command, PowerShell has a alias kill for Stop-Process. If your cmd.exe responses to kill you have some external command somewhere in your path.

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.