View Single Post
  #2  
Old 04-01-2005, 01:29 PM
kevina kevina is online now
Registered User
 
Join Date: 03-26-2003
Posts: 825
We will be installing Virtual Server 2005 to test this in the near future, but in the meantime, what error do you receive using the VM object in a Run Script step?

For now you can pass parameters to cscript.exe/wscript.exe so you could pass MACRO values as arguments to your script. This will at least make your jscript be more modular and reuseable.

I've attached some simple sample jscript that could be used to provide some exception handling while using cscript.exe to execute your jscript and have Visual Build Professional detect when an exception occurs.
Attached Files
File Type: bld cscript example.bld (1.0 KB, 922 views)
Reply With Quote