1
vote
2answers
343 views

How to schedule taskkill in bat file

I want something like this:- taskkill 7z.exe after 50sec. code 1 code 2 code 3 7z.exe will be killed after 50 sec but the program should execute code 1 code 2 code 3 without waiting for the ...
1
vote
2answers
5k views

How do I get a .bat file to run in Task Scheduler at PC Startup?

Alright so I have been reading through the various answers on Super User for this question and no one has seemed to actually post a way of running a .bat file in Task Scheduler at PC startup. I would ...
-1
votes
3answers
2k views

Cannot end processes with taskkill, get “the system cannot find the file specified” error

Whenever I run the following in a command prompt: taskkill /f /im chrome.exe I get an error saying "the system cannot find the file specified". I've tried that command without the /f option, and ...