Parameters for ndcrproc.exe

IT Asset Management (Cloud)
You can use the following parameters for the command-line tool ndcrproc.exe.
Table 1. Parameters for ndcrproc.exe
Parameter Description
-- A double minus sign indicates the end of parameters for ndcrproc.exe. Any parameters which follow this symbol are passed directly to the child process.
-c "string"

A string enclosed in double quotation marks, combining multiple command-line arguments that are passed to the child process.

Example:

-c "-d c:\temp -o "c:\w w\myoutfile.txt""

-C filename Pointer to a file containing multiple command-line arguments, separated by newline characters, that are passed to the child process. The semi-colon character (;) indicates a comment within the file, and the remainder of that line is ignored.
-e name Specifies the name of the executable that should be run in this scheduled task.
-l filepath

Specifies a random name of a semaphore to hold, so that any other task with the same semaphore name cannot be run at the same time.

While the semaphore can be any ASCII string value, the convention is to pass the file path and the name of the executable that is running. This makes it easy for a human operator to check that another instance of the same executable will not run at the same time.

-o option

An optional parameter passed to ndcrproc.exe in the form of a name/value pair (separated with an equal sign). Boolean values may be entered as TRUE or FALSE, T or F, or Y or N. To specify multiple options, precede each one with the -o flag. Unrecognized options are silently ignored.

The most common option to specify is: -o CREATE_NO_WINDOW=True

This option suppresses the appearance of any interactive window for the child process.

Note: When UI windows are suppressed, it is not possible to see any results that the child process may otherwise display. The child process returns success or failure to ndcrproc.exe, which passes that result upward to the task scheduler. If you need to examine detailed output even when the display window is suppressed, enable tracing on the child process.

IT Asset Management (Cloud)

Current