Sunday, July 12, 2009

Minimising a scheduled task in Windows

By default Windows will display a window in the foreground when running a scheduled task. To run a task in a minimised window use the following: cmd /C start /MIN foo.bat Using just start /MIN foo.bat will not work for a scheduled task because start is an internal command for cmd.exe.

No comments:

Post a Comment