/
Redirect Standard Out and Standard Error to Windows
Redirect Standard Out and Standard Error to Windows
Redirect Standard Out and Standard Error to Windows
The following example illustrates how to redirect the standard output and error of the 'DIR' command to a file on the initiating system.
ucmd -cmd "dir" -host dallas -userid joe -pwd password > output.file 2>&1
The command dir is sent to a remote system named dallas for execution. The standard output and standard error of the dir command are written back to the UCMD process and redirected to standard out file output.file. The process will authenticate and run under the authority of userid joe.
If the remote system is a UNIX system, change the command dir to ls.
Command Line Options
The command line options used in this example are:
Option | Description |
---|---|
-cmd | Remote command to execute. |
Directs the command to a computer with a host name of dallas. | |
Remote user ID with which to execute the command. | |
Password for the user ID. |
Components
Universal Command Manager for Windows
, multiple selections available,
Related content
Redirect Standard Out and Standard Error to Windows
Redirect Standard Out and Standard Error to Windows
More like this
Redirect Standard Out and Standard Error to Windows
Redirect Standard Out and Standard Error to Windows
More like this
Redirect Standard Out and Standard Error to Windows
Redirect Standard Out and Standard Error to Windows
More like this
Redirect Standard Out and Standard Error to UNIX
Redirect Standard Out and Standard Error to UNIX
More like this
Redirect Standard Out and Standard Error to UNIX
Redirect Standard Out and Standard Error to UNIX
More like this
Redirect Standard Out and Standard Error to UNIX
Redirect Standard Out and Standard Error to UNIX
More like this