I'm trying to use automation with VBScript and cscript command on Windows Vista. Unfortunately, I cannot add the expansion order option to the command line. According to the help file of FastCap, it should work like this: FastCapObject.Run("-lspheres.lst -o3"). In my case: -this works fine: couldRun = FastCap2.Run("""-l" + path + "SpuleFC.lst""")
-this stops with an error: couldRun = FastCap2.Run("""-o4 -l" + path + "SpuleFC.lst""") or couldRun = FastCap2.Run("""-l" + path + "SpuleFC.lst -o4""") --> Microsoft VBScript runtime error: Subscript out of range: '[number: 0]'
Any ideas how to solve this? I appreciate any replies or hints.