Sure, I do this from a test of mine. Use the STAF PROCESS START command 
(or the STAX '<process>' element) to run a command on the target machine, 
using the 'cscript' command-line utility to run your .vbs file.

See the Microsoft web site for details about the 'cscript' command.

----------------------------------------------------------------------------------------
Joe Veilleux
IBM/Lotus Domino Server Quality Engineering
5 Technology Park Drive
Westford MA 01886
Email: joeveill...@us.ibm.com




Sweety Sharma <sweety.e...@gmail.com> 
07/14/2009 10:09 AM

To
staf-users@lists.sourceforge.net
cc

Subject
[staf-users] How to use STAX for executing a vbscript on a remote machine?






Hi,
 
I'm not sure whether this is the correct alias for sending in such 
queries.... but i have a scenario where i need to execute a vbscript on 
some remote machine.
I have the vbscript for converting hexadecimal number to decimal, I had 
created the .vbs file and now want to run it on the remote machine and get 
the output.
 
Can anyone suggest on this?
 
-Sweety
------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge 
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full 
prize 
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users

Reply via email to