New
#1
how to prevent .batch file focus steal executed from a taskschedular
I have the codes below
setup with task scheduler to run this every hour, but the focus steal from CMD window is too much. how can this be written to prevent it?taskkill /F /T /IM AAA.exe
start /MIN "" "C:\Users\Administrator\AAA.exe" :0
ping 127.0.0.1 -n 5 > nul
taskkill /F /T /IM CCC.exe
start /MIN "" "C:\Program Files (x86)\CCC.exe" :0
exit