The dpmcmd run command is the command line interface for running scripts.
This command has the following format:
dpmcmd run -cmdline commandline [-pre] [-post][-locale iso639value]
Defines the shell command or path where the script file that you want to run is located.
(Optional) Specifies whether to generate an event before the operation is performed.
(Optional) Specifies whether to generate an event after the operation is performed.
(Optional) Specifies an IS0 639_3166 combination to override the default English output, for example, fr_FR for French. To use the locale of the command prompt, specify "native".
Example: Run a Script and Create Events
This example runs the script named MyScript and creates an event before and after the script is run.
dpmcmd run -cmdline C:\scripts\MyScript.bat -pre -post
Copyright © 2013 CA. All rights reserved. |
|