...
This example demonstrates using UCMD Manager via the UDM Manager
exec command to provide a directory listing using a batch file.
...
Note |
---|
|
The last directory in the path corresponds to the user ID under which the command is executed. No open state is used, and the remote host on the exec command is specified using the IP address. |
Panel |
---|
set echo=yes
exec 192.168.20.47 cmd="C:\wrk\xmp\win\winxmp.bat > stdout.txt" user=joe pwd=abcdefg
quit |
The
winxmp.bat batch file simply does a
dir command against the directory in which the batch file resides.
Panel |
---|
dir "C:\wrk\xmp\win" |
Output sent to stdout.txt.
...
The transaction log is shown in this first example for those not used to seeing output from UDM.
Panel |
---|
2011.07.2767 16.06.47.641 UNV2800I Universal Data Mover 5.1.0 Level 1 Release Build 105 started.
2011.07.2767 16.06.47.656 Processing script: winxmpbat.udm
2011.07.2767 16.06.47.656 exec 192.168.20.47 cmd="C:\wrk\xmp\win\winxmp.bat > stdout.txt" user=joe pwd=\*
2011.07.2767 16.06.48.431 quit
2011.07.2767 16.06.48.447 Finished processing script: winxmpbat.udm
2011.07.2767 16.06.49.447 UNV2801I Universal Data Mover 5.1.0 Level 1 Release Build 105 ended successfully. |
UDM exec Command Parameters
The exec command parameters used in this example are:
...
Components
Universal Data Mover Manager for Windows Universal Command Server for Windows