Common Task Utility
• | Suppressing appearance of any window in the user interface |
• | Preventing simultaneous execution of multiple instances. |
To schedule execution of
c:\path\sample.exe -d
without displaying an interactive user interface window, enter the following command line into the Windows Task Scheduler:
ndcrproc.exe -e c:\path\sample.exe -l c:\path\sample.exe -o CREATE_NO_WINDOW=True -- -d
There are further examples of the use of this tool in the default command lines for the scheduled tasks in the following sections.