Sure, you can write a STAX job that reads a file (where each line contains 
a command), and then run each command via a <process> element.

--------------------------------------------------------------
Sharon Lucas
IBM Austin,   luc...@us.ibm.com
(512) 286-7313 or Tieline 363-7313




From:   Luca Robusto <lucarobu...@gmail.com>
To:     STAF-USERS-REQUESTS <staf-users@lists.sourceforge.net>, 
Date:   03/19/2013 04:26 AM
Subject:        [staf-users] execute flle script command from command line



Is it possible to run a process in STAF tipying from command line
actions that should be contained in a file row by row?

Luca.

E.G.
the shell command
diskpart /s script.txt

can become a STAF command where the rows contained in script.txt are
executed by command line or in a STAX script?

Luca.

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users

Reply via email to