Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

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: – ervingsb Mar 7 '12 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 '15 at 20:14

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