I am looking for the syntax for using the automation objects in the
Symantec Backup Exec 6.5 LiveState Recovery software.

The documentation on the CD is "ok" and includes some sample scripts,
but I am looking to create backup jobs that include additional drives
besides the system drives and uses the command file method to run pre-
backup and post-backup scripts.

Everything else works. I just think I'm missing something obvious and
don't get much time to work on this stuff ( I'm working on getting
more time though).

Here's what does work:

Set oVolume = Nothing
For Each oTempVol in v2iAuto.Volumes(false)
If (oTempVol.System) Then
Set oVolume = oTempVol
Exit For
End If
Next

So, that gets me the system volumn (but I'd really like to have the D:
and the C:)

' Step 7: Create an image job
'
Set oImageJob = CreateObject("Symantec.VProRecovery.ImageJob")
oImageJob.DisplayName = "Hx" & "yyyyy" & "svxxxap1 Full Image"
oImageJob.Description = "Hx" & "yyyyy" & "svxxxap1 Full Image"
oImageJob.IncrementalSupport = false
oImageJob.Quota = 7
oImageJob.VerifyImage = 1
oImageJob.RunOnce = false
oImageJob.Compression = oImageJob.Constants.ImageCompressionMedium
oImageJob.Reason = oImageJob.Constants.ImageReasonAutomatic
oImageJob.Volumes = Array(oVolume.ID)
oImageJob.Task = oTask
oImageJob.Location(oVolume.ID) = oLocation

And this creates the image job. This part works.

So, what doesn't work?

Well, I tried to get a handle on d:, so I used:
' Step 6a: Get a handle to D:
Set oFSO = WScript.CreateObject("Scripting.FileSystemObject")
Set oDriveD = oFSO.GetDrive("D:")

That worked.
Then in the object image job, I change oImageJob.Volumes to:
oImageJob.Volumes = Array(oVolume.ID, oDriveD)

But, that did not add D: ( note I did use
WScript.Echo "oDriveD = " & oDriveD.DriveLetter
so that I could verify that fso got the D:, which it did).

And I used
oImageJob.CommandFile(VT_BSTR PREIMAGE) = file1.exe
oImageJob.CommandFile(VT_BSTR POSTSNAP) = file2.exe
oImageJob.CommandFile(VT_BSTR POSTIMAGE) = file3.exe

But this did not add file1.exe etc to the properties of the job.

So, my overall code works 90% and now I'm just trying to get these
last few items.
If anyone's done this or has suggestions, I'm interested.

Thanks.