Redirect Standard Input from Initiating System on Windows

Redirect Standard Input from Initiating System on Windows

The ucmd command reads from standard input and writes it to the UCMD Server for the remote command to read as its standard input. The allocation of standard input can be changed with a shell redirection operator. The redirection operators instruct the shell to change the allocation of the standard files. To change the allocation of standard input, use the < operator.

The command is sent to a remote system named dallas for execution. The output of the script is redirected back to the Universal Command process's standard out and standard error. Standard input is read from file input.file on the initiating system. The process will authenticate and run under the authority of userid joe.

Command Line Options

The command line options used in this example are:

Option

Description

-script

File from which to read a script file. The script file is sent to the remote system for execution.

-host

Directs the command to a computer with a host name of dallas.

-userid

Remote user ID with which to execute the command.

-pwd

Password for the user ID.

Components

Universal Command Manager for Windows