Ad Widget

Collapse

Several remote commands not execute.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Smersh
    Member
    • Jul 2013
    • 49

    #1

    Several remote commands not execute.

    Hi,

    In documentation:
    Remote commands are limited to 255 characters. Multiple commands can be executed one after another by placing them on a new line.
    In my case I have an action (test) with remote command script:
    Code:
    echo/%date% %time% > D:\work\zabbscipt.txt
    forfiles /P "D:" /C "cmd /C echo @path > D:\work\zabbscript2.txt"
    Only the first command/line is executed. Individually they are working normally...
Working...