I want something like this:-
taskkill 7z.exe after 50sec.
Execute few lines of codes without waiting for 7z.exe to be killed.
It will automatically be killed after 50sec, wherever the execution is going on.
I want something like this:-
taskkill 7z.exe after 50sec.
Execute few lines of codes without waiting for 7z.exe to be killed.
It will automatically be killed after 50sec, wherever the execution is going on.
Is this what you mean ? Waiting 50 seconds before killing 7z.exe
or you want to wait after killing then do some commands.
EDIT: New version for OP.
OK, here is a way to turn off the counting window, in addition to all the other stuff.
This creates two files in the same directory as itself, invisible.vbs and killer.bat then executes killer.bat invisibly with the 3rd line.