How to send multiline commands to dopusrt?

I'm just not sure I use dopusrt correctly when sending multiline commands to it.
For example here is how i send two line command from autoit script:

$dopusrt="h:\program files\dopus\dopusrt.exe"
$line_1="/cmd Go D:\MUSIC NEWTAB=findexisting"
$line_2="/cmd Set HIDEFILTERATTR hs"
ShellExecute($dopusrt,$line_1)
ShellExecute($dopusrt,$line_2)

Dopusrt executes two times here.
So I would like to know is it the best way to send multiline commands externally?

The way to do it is to put both lines into a user-defined command, then run that from dopusrt.exe.

(Alternatively, you could use a layout instead in this case.)

oh, somehow I missed user-def. commands... Thanks!