I would like to close a program when it fails on my system, for this I am using:
TASKKILL /F /IM executavel.exe /T
I used to develop a machine with W7 and it worked, but the one of the client uses W10 and does not close, any tips of what can be? Permission, etc.?