Just guessing, but try escaping the double quotes with a leading=0D=0A backslash.=0D=0A =0D=0A -----Original Message-----=0D=0A From: foxboro-bounce@xxxxxxxxxxxxx [mailto:foxboro-bounce@xxxxxxxxxxxxx]=0D= =0A On Behalf Of Ngozi.Kalu@xxxxxxxxxxxxxx=0D=0A Sent: Thursday, September 28, 2006 2:14 PM=0D=0A To: foxboro@xxxxxxxxxxxxx=0D=0A Subject: [foxboro] Open display command and Alarm manager configurator=0D= =0A =0D=0A Hi all,=0D=0A =0D=0A I added some buttons to the Alarm MAnager Current Alarm Display (CAD) =3D= =0D=0A and these should run scripts to open a Foxdraw display.=0D=0A =0D=0A I save, validate and create instal files on the AM configurator, then =3D= =0D=0A on restarting the DM, the scripts don't run (or I should say, the =3D=0D=0A displays don't open).=0D=0A =0D=0A Does anyone know what I'm not doing correctly here.=0D=0A =0D=0A Here are the scripts to open the displays:=0D=0A =0D=0A 1.=3D20=0D=0A #!/bin/sh=0D=0A LBUS=3D3D$1=0D=0A /usr/local/pref -$LBUG dmcmd "ov /<<filepath/file.fdf>> -sticky -ontop =3D= =0D=0A 2"=0D=0A =0D=0A 2.=0D=0A #!/bin/sh=0D=0A CB=3D3D"$1" #Compound Block Name=0D=0A TYPE=3D3D"$2" #Alarm Type=0D=0A LBUG=3D3D"$3" #Station=0D=0A /usr/local/pref -$DMNAME dmcmd "/<<filepath/file1.fdf>>"=0D=0A sleep 1=0D=0A /usr/fox/wp/bin/tools/show_win "FoxView $GCLBUG:$DMNAME"=0D=0A pref -$DMNAME dmcmd "=3D3D P1 $CB"=0D=0A sleep 2=0D=0A /usr/local/pref -$DMNAME dmcmd "/<<filepath/file2.fdf>>"=0D=0A =0D=0A =0D=0A Thanks,=0D=0A =0D=0A Ngozi Kalu=0D=0A =0D=0A Albian Sands Energy Inc=0D=0A P.O. Box 5670, Fort McMurray, Alberta, T9H 4W1, Canada=0D=0A =0D=0A Tel: +1-780-7134767=3D20=0D=0A Email: ngozi.kalu@xxxxxxxxxxxxxx=0D=0A Internet: http://www.albiansands.ca=0D=0A =0D=0A =0D=0A =0D=0A =0D=0A =0D=0A _______________________________________________________________________=0D= =0A This mailing list is neither sponsored nor endorsed by Invensys Process=0D= =0A Systems (formerly The Foxboro Company). Use the info you obtain here at=0D= =0A your own risks. Read http://www.thecassandraproject.org/disclaimer.html=0D= =0A =0D=0A foxboro mailing list: //www.freelists.org/list/foxboro=0D= =0A to subscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=3Djoin= =0D=0A to unsubscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=3Dleave= =0D=0A =0D=0A =0D=0A Confidentiality Notice: This email message, including any attachments, =0A contains or may contain confidential information intended only for the =0A addressee. If you are not an intended recipient of this message, be =0A advised that any reading, dissemination, forwarding, printing, copying=0A or other use of this message or its attachments is strictly prohibited. I= f=0A you have received this message in error, please notify the sender =0A immediately by reply message and delete this email message and any=0A attachments from your system.=0D=0A _______________________________________________________________________ This mailing list is neither sponsored nor endorsed by Invensys Process Systems (formerly The Foxboro Company). Use the info you obtain here at your own risks. Read http://www.thecassandraproject.org/disclaimer.html foxboro mailing list: //www.freelists.org/list/foxboro to subscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=join to unsubscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave