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"
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"
Thank you so much! ☺️
How do you kill tasks that has spaces between it's process name?
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"
@@matthewhard Thank you, I will try that ^^
That was very easy to understand. Thanks!!
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"