do-command with function shell

Annegret Duda (starnet!apple!rbg.informatik.th-darmstadt.de!duda)
Mon, 12 Dec 94 08:45:57 GMT

Hello,

I want do use the shell-function within a do-command, but I don't get the
desired result. I wrote for example
put "put shell(" & quote & "echo 12/12/94" & quote & ") into datum " into kommando
do kommando
put "Kommando:" && kommando && "datum:" && datum

In the Message-Box I received following text:
Kommando: put shell ("echo 12/12/94") into datum datum: datum

I expected to get in the container datum the text "12/12/94". What is wrong?

Annegret

Annegret Duda | Tel.: 49 6151 16-3510
Rechnerbetriebsgruppe FB 20 |
TH-Darmstadt | e-mail: duda@rbg.informatik.th-darmstadt.de
Merckstrasse 25 |
|
64283 Darmstadt |
Germany |