Search code examples
batch-filevlctaskkill

Taskkill no longer works with VLC


I have a batch that used to kill VLC.

echo
rem choice /c YN /n /d Y /t 120
taskkill /im vlc.exe

Now when it runs, VLC stays open, even though the CMD reports the taskkill command was successfully sent.

Any ideas? Perhaps a VLC (currently 2.1.5) update make it no longer work.


Solution

  • Is taskkill /im vlc.exe /f or taskkill /im vlc.exe /t /f working for you? Had the same problem with explorer.exe a while ago...