0

Possible Duplicate:
Run a .bat file in a scheduled task without a window

In 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?

0

1 Answer 1

1

You can try this: START /MIN cmd.exe

3
  • OK, so my program/script is right now "foo.exe" and arguments are "-z c". So how/where do I add START /MIN?
    – ervingsb
    Mar 7, 2012 at 9:47
  • This is the Action dialog, I need to fill out: i.imgur.com/ma2qZ.png
    – ervingsb
    Mar 7, 2012 at 9:56
  • It 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. `:-`
    – Synetech
    Oct 2, 2015 at 20:14

Not the answer you're looking for? Browse other questions tagged .