How to start scheduled task in minimized cmd window?
7,477
You can try this: START /MIN cmd.exe
Related videos on Youtube
Author by
ervingsb
Updated on September 18, 2022Comments
-
ervingsb over 1 year
Possible Duplicate:
Run a .bat file in a scheduled task without a windowIn Windows 7, I have a scheduled task running a console application in a CMD window. It runs every day at 12 o'clock. When it runs, it opens a CMD window that is not focused, however, it appears on top of the currently used application.
I would like this CMD window to either start up minimized or run in the background completely (with NO visible windows at all).
How to do this?
-
ervingsb about 12 yearsOK, so my program/script is right now "foo.exe" and arguments are "-z c". So how/where do I add START /MIN?
-
Synetech over 8 yearsIt will still create a console window for the
cmd
process, so this will work if you don't mind a black window flash on screen, otherwise you need another solution. `:-`