How can I run a .VBS file as part of an OnEvent action in SVS?

Article:HOWTO2630  |  Created: 2006-03-06  |  Updated: 2006-03-23  |  Article URL http://www.symantec.com/docs/HOWTO2630
Article Type
How To



Question

How do I get an OnEvent Action for SVS to run a .VBS file? It doesn't appear to run the script.

Answer
Calling a .VBS file itself does not work. You will need to use "wscript <path to script>" in the event. 

Example:  Create a OnPostReset event (Multi-String Value) and use "wscript c:\hello.vbs" as the value data. This will run hello.vbs after the layer has been reset.


Legacy ID



20347


Article URL http://www.symantec.com/docs/HOWTO2630


Terms of use for this information are found in Legal Notices