The Virtual CD support forum

Answers:

VCD Script Error

Hi

Received the following error when running the VCD VBS script on Windows 10.

Line: 97
Char: 9
Error: The system cannot find the file specified.
Code: 80070002
Source: (null)

Code line with error;
objShell.Run(objArgs(1))

Code section;
if LoadInterface(IApi, "Vc10api.Api") = true then
Dim strTitle
Dim bAskBeforeExecute
Dim bStopOnVCDError
Dim bEjectAllVCDs
Dim bRegisterVCDs
Dim bEjectInsertedImagesAfterProgram
Dim bEjectAllImagesAfterProgram
Dim aImages(0, 3)
Dim objShell

strTitle = DLGTITLE
bAskBeforeExecute = false
bStopOnVCDError = true
bRegisterVCDs = true
bEjectAllVCDs = false
bEjectInsertedImagesAfterProgram = false
bEjectAllImagesAfterProgram = false

aImages(0, 0) = USEDEFAULTDRIVE
aImages(0, 1) = objArgs(0)
aImages(0, 2) = AUTORUN_ON
aImages(0, 3) = false
call EjectAllVirtualCDs()
call VCDInsertLoop()
Set IApi = Nothing

Set objShell = WScript.CreateObject("WScript.Shell")
objShell.Run(objArgs(1))
Set objShell = Nothing

End If


Regards,
Daniel



The system cannot find the file specified.

The following KB article deals with this problem:

Virtual CD Script cannot execute a program that is to be started.

Back to the questions

New answer

* = required information



Back to the questions