Re: [foxboro] Run a *.bat Windows in a Foxview Button

  • From: "QUEIROLO, IGNACIO ESTEBAN" <ignacio.queirolo@xxxxxxx>
  • To: "foxboro@xxxxxxxxxxxxx" <foxboro@xxxxxxxxxxxxx>
  • Date: Mon, 10 Jun 2013 10:59:02 +0000

If you want to run a .bat file from the FoxView Display bar, I have one that I 
am running with this command line:

dmcmd dbar_button 18 "run startp /min D:/opt/tools/batch/calldisp.bat $DMNAME" 
-l "Run Batch"

$DMNAME is an argument for my script. "Run Batch" would be the label of the 
button. The application you have to use is startp. The argument /min is used to 
have a command window minimized when the script runs.

If you want to use this command line in a customer command button inside a 
display graphic, you have to add a Display Command Operator Action to your 
button with the following command line:

dmcmd run startp /min D:/opt/tools/batch/calldisp.bat $DMNAME

Hope this helps.

Regards

-----Mensaje original-----
De: foxboro-bounce@xxxxxxxxxxxxx [mailto:foxboro-bounce@xxxxxxxxxxxxx] En 
nombre de Oscar Reina
Enviado el: sábado, 08 de junio de 2013 01:19 p.m.
Para: foxboro@xxxxxxxxxxxxx
CC: francisco.27.hernandez@xxxxxxxxx
Asunto: [foxboro] Run a *.bat Windows in a Foxview Button

Dear List,


Actually I wrote a script in a .bat Windows file, somebody know if is it 
possible to configure a foxview button to run the *.bat file?.



I have tried whit:

dmcmd run

dmcmd applic

dmcmd script



but it does not work.



We have I/A 8.6 Mesh Network.



Thanks!

Oscar Reina





_______________________________________________________________________
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

AVISO LEGAL: Esta información es privada y confidencial y está dirigida 
únicamente a su destinatario. Si usted no es el destinatario original de este 
mensaje y por este medio pudo acceder a dicha información por favor elimine el 
mensaje. La distribución o copia de este mensaje está estrictamente prohibida. 
Esta comunicación es sólo para propósitos de información y no debe ser 
considerada como propuesta, aceptación ni como una declaración de voluntad 
oficial de YPF S.A. y/o subsidiarias y/o afiliadas. La transmisión de e-mails 
no garantiza que el correo electrónico sea seguro o libre de error. Por 
consiguiente, no manifestamos que esta información sea completa o precisa. Toda 
información está sujeta a alterarse sin previo aviso. This information is 
private and confidential and intended for the recipient only. If you are not 
the intended recipient of this message you are hereby notified that any review, 
dissemination, distribution or copying of this message is strictly prohibited. 
This communication is for information purposes only and shall not be regarded 
neither as a proposal, acceptance nor as a statement of will or official 
statement from YPF S.A. and/or subsidiaries and/or affiliates. Email 
transmission cannot be guaranteed to be secure or error-free. Therefore, we do 
not represent that this information is complete or accurate and it should not 
be relied upon as such. All information is subject to change without notice.
 
 
_______________________________________________________________________
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
 

Other related posts: