Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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?

share|improve this question

marked as duplicate by Iain Mar 6 '12 at 15:23

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1 Answer 1

You can try this: START /MIN cmd.exe

share|improve this answer
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 '12 at 9:47
This is the Action dialog, I need to fill out: i.imgur.com/ma2qZ.png –  ervingsb Mar 7 '12 at 9:56

Not the answer you're looking for? Browse other questions tagged or ask your own question.