Windows Command Line: Tasklist and Taskkill

Поделиться
HTML-код
  • Опубликовано: 11 дек 2024

Комментарии • 6

  • @AngelineS_Lin
    @AngelineS_Lin 7 месяцев назад

    Thank you so much! ☺️

  • @Tabarnacification
    @Tabarnacification Год назад +1

    How do you kill tasks that has spaces between it's process name?

    • @matthewhard
      @matthewhard  Год назад +1

      Let's assume you want to terminate a process named 'My Application' with spaces in its name. You would use quotes around the name of the file. Here is an example:
      taskkill /F /IM "My Application.exe"

    • @Tabarnacification
      @Tabarnacification Год назад +1

      @@matthewhard Thank you, I will try that ^^

    • @debbiewilliams7559
      @debbiewilliams7559 10 месяцев назад

      That was very easy to understand. Thanks!!

  • @olekristianmller-hansen4220
    @olekristianmller-hansen4220 3 месяца назад

    Great video. You helped me out.
    Here is a command that should look for Notepad in the task list, and if it's NOT running; start it.
    tasklist | findstr "notepad.exe" || start "" "%systemroot%\system32
    otepad.exe"