Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Macro name changed from html to html-bobswift during server to cloud migration processing.

...

Note
titleNote

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
Html bobswift
<pre>

set

Html bobswift
 echo=yes

exec

Html bobswift
 192.168.20.47 cmd="C:\wrk\xmp\win\winxmp.bat > stdout.txt" user=joe pwd=abcdefg

quit

Html bobswift
 
</pre>


Anchor
1090686
1090686
The winxmp.bat batch file simply does a dir command against the directory in which the batch file resides.

Panel
Html bobswift
<pre>

dir

Html bobswift
 "C:\wrk\xmp\win"
</pre>


Output sent to stdout.txt.

Panel
Html bobswift
<pre>
C:\Program Files\Universal\UCmdHome\mamos>dir "C:\wrk\xmp\win"
 Volume in drive C has no label.
 Volume Serial Number is 3030-176B

 Directory of C:\wrk\xmp\win

07/27/2011  03:27 PM    &lt;DIR&gt;           .
07/27/2011  03:27 PM    &lt;DIR&gt;          ..
07/27/2011  10:08 AM                20 winxmp.bat
07/27/2011  03:46 PM               106 winxmpbat.udm
               2 File(s)            126 bytes
               2 Dir(s)  13,453,979,648 bytes free
</pre>


Anchor
1090513
1090513
The transaction log is shown in this first example for those not used to seeing output from UDM.

Panel
Html bobswift
<pre>
2011.07.27 16.06.47.541 UNV2800I Universal Data Mover 5.1.0 Level 1 Release Build 105 started.
2011.07.27 16.06.47.556 Processing script: winxmpbat.udm
2011.07.27 16.06.47.556 exec 192.168.20.47 cmd="C:\wrk\xmp\win\winxmp.bat > stdout.txt" user=joe pwd=\*
2011.07.27 16.06.48.431 quit
2011.07.27 16.06.48.447 Finished processing script: winxmpbat.udm
2011.07.27 16.06.49.447 UNV2801I Universal Data Mover 5.1.0 Level 1 Release Build 105 ended successfully.
</pre>

UDM exec Command Parameters

...