How come? I tested both commands, they both work in command prompt or when launched as .bat file. I tried putting quotes everywhere, but nothing. I also saw there's runcommand plugin, just looking for a one line solution if possible.
Any call to anything that is a console command in Windows, like taskkill.exe, will always pop up a cmd.exe console window, even if for just a second.
There is no way around that other than the RunCommand plugin which can run console commands as "hidden".
Minimized won't help, as when you execute a command like taskkill.exe, it is being executed as a shell command passed through cmd.exe. While it is all well and good to tell taskkill.exe to start "minimized", that doesn't really mean or do anything. taskkill doesn't have a user interface or window. It is just run by cmd.exe, which WILL pop up its window. In reality, it's the "start" command, which is built into cmd.exe, that is starting the console window.
Long and the short of it is that you must use RunCommand.
Thank you. I saw there's no easy way to do hidden command line stuff. Tried minimizing the window at least. Problem was, Rainmeter did not understand 'start' so did not execute it. Calling bat file worked and made console window disappear much quicker: