runbatch.exe command

Previous Next

Starts the USoft processor that executes USoft jobs in order to run a named job.

The table below lists the command line options available for use with the runbatch.exe command.



-app name

Specifies the name of the application.

-database name

Specifies which database is to be used. This parameter is mandatory for SQL Server (OLEDB) and for ODBC, and optional for Oracle, but USoft recommends you specify this parameter also for each Oracle connection.


Reads the repository from flat files instead of from repository.

If you use this option, also use the -app option to specify the application to look for.

-ddowner name

Specifies that the application must be run on a repository owned by another user than the one under whose name you log in. To be used in combination with the -app option if you are NOT using the -ddfile option.

-exe "job(name

parameter=value... )"

Executes the specified job.




-exe "job(EXP_PERSON,name=johnson)"

-logfile name

Specifies the full path name or the file name of the log file, if you do not want the default jobnameHHMMSSLL.log file.

Or specify a folder name, ending with the '\' character.


Specifies that the application tables are in an ODBC enabled RDBMS.


Specifies the MS SQL Server database platform.


Specifies the Oracle database platform.

-owner name

Specifies the database user who is the owner of the application tables at RDBMS level.

You only need to use this option if this is a different database user from the user that you log on with (identified by -u or -user)..

-password name


-pw name

Specifies your RDBMS password. You only need to use this option if you want to log in automatically. Use this option in combination with -u (username).


Suppresses the display of error messages on Windows.

Some exceptional messages (such as fatal errors during startup or initialization) will always be reported by means of message boxes, even when this –silent option has been used.

-title "name"

Specifies the text displayed in the window's title bar. Note that this option may only be used on Windows platforms.

-user name


-u name

Specifies your RDBMS username. You only need to use this option if you want to log in automatically. Use this option in combination with -pw (password).


Specifies that an existing log file is to be overwritten by a new log file, instead of being appended with new logging information.