I am trying to have a batch file run every 10 minutes, which kills two processes and then restarts them.
Now, I want this to run hidden (which I have basically covered), so I don't get thrown out to the desktop, if I play games while the batch file executes.
My problem: The taskkiller has some kind of "feedback" or "report", which briefly opens a cmd window saying something like "Succuss bla bla killed guiminer" or "Failed bla bla guiminer is not running". This window appears and disappears instantly, so it drags me out to the desktop but I can never see what it actually says precisely.
This is my .vbs script, which runs the batch hidden:
Set WshShell = CreateObject("WScript.Shell") WshShell.Run chr(34) & "G:\Users\Sebz4n_GAME_OS2\Desktop\Restart GUIMiner.bat" & Chr(34), 0 Set WshShell = Nothing
This is my batch file, which is running quietly (hidden):
start TASKKILL /F /IM "guiminer.exe" start TASKKILL /F /IM "poclbm.exe" PING 126.96.36.199 -n 1 -w 1000 > NUL start /d "G:\Users\Sebz4n_GAME_OS2\Desktop\GUIMiner\" miner.lnk
So, how do I stop it from giving said "report" ??
Is there an easier way of doing this (Running batch hidden/Restarting a program every 10 minutes)