New
#1
Batch file timebomb?
I don't really know a better way to describe it, but I want to make a batch file that Task Scheduler can open at a certain time to close a chosen program. I know more Russian than I do coding...
I don't really know a better way to describe it, but I want to make a batch file that Task Scheduler can open at a certain time to close a chosen program. I know more Russian than I do coding...
Taskkill command on technet.microsoft.com
TASKKILL /F /IM "notepad.exe"
or if you want user to type program's name
And of course, this won't work on hung programs and some protected programs like antiviruses.@echo off
CLS
set /p name= Please specify program's name? (example: notepad.exe)
taskkill /f /im %name%
And user can start this program again.
Wow I was about to say it isn't working. Then I saw I only had taskill... needed that second "K"
Thanks