<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><DIV><BLOCKQUOTE type="cite"><BLOCKQUOTE type="cite"><P style="margin: 0.0px 0.0px 0.0px 10.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">I am looking to issue a 'System cmd' that will echo the results into <SPAN class="Apple-converted-space"> </SPAN></FONT></P> <P style="margin: 0.0px 0.0px 0.0px 10.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">a new variable -- can anyone tell me the correct way to do this?</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 10.0px; font: 12.0px Helvetica; min-height: 14.0px"><BR></P> <P style="margin: 0.0px 0.0px 0.0px 10.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">example: at the terminal I am currently able to issue this command: <SPAN class="Apple-converted-space"> </SPAN></FONT></P> <P style="margin: 0.0px 0.0px 0.0px 10.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">echo | date &gt; date.txt</FONT></P> <BR></BLOCKQUOTE><P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; min-height: 14.0px"><BR></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">Do you want to run that command in the shell? This pipes the output of</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">'echo' (with no parameters: just prints a single newline) to date (with</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">no params, ignores its input anyway</FONT></P> </BLOCKQUOTE></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Sorry if this wasn't written clearly before.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>I want to issue a System cmd in my dialpan that is similar to the unix echo command stated above. *EXCEPT* that I want to pipe the results into a *new* variable (vs a text file.)</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Ideally, what would happen is in my diaplan I would issue the 'echo | date' command and pipe the output to a newly created variable with the appropriate output.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>example:</DIV><DIV>NewVariable=Mon Aug 29 18:32:45 EDT 2005</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Do you know how I can do this?</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Thanks!</DIV></BODY></HTML>