From: "Rich"
This is a multi-part message in MIME format.
------=_NextPart_000_0946_01C48450.C63FDA20
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
I my experiments, the error has the wrong filename but the correct =
line number. Look at line 1 of each of the three files.
Note that you are missing the closing '>' in "
I my
experiments, the =
error has the=20
wrong filename but the correct line number. Look at line 1 of
each = of the=20
three files.
Note that
you are missing =
the closing=20
'>' in "</job".
Rich
"Gregg N" <greggn{at}invalid.invalid>">mailto:greggn{at}invalid.invalid">greggn{at}invalid.invalid>
=
wrote in=20
message news:41224c7f$1{at}w3.nls.net...I am=20
relatively new to windows scripting. I created a WSF file =
calledtest.wsf=20
that includes several vbscript files. It looks kind of like=20
this:<package> =20
<job>
<script =
language=3D"VBScript"=20
src=3D"file1.vbs"/>
<script=20
language=3D"VBScript" =
src=3D"file2.vbs"/> =20
<script language=3D"VBScript" =
src=3D"file3.vbs"/> =20
</job</package>When I
run it, I get a dialog that =
says Script:
test.wsf =
Line:=20
1 Char:
43 Error: Expected =
end of=20
statement Code:
800A0401 =
Source:=20
Microsoft VBScript compilation errorI think the line
number is =
for one=20
of the referenced vbs files, not the wsffile. How do I find out =
which one?=20
The script debugger doesn't help becauseit is a compilation error, =
not a=20
run-time error (although I would havethought these are one and the =
same=20
for an interpreted language).I must be doing something wrong, =
because=20
using Google I could not findanyone with the same=20
problem.Gregg
------=_NextPart_000_0946_01C48450.C63FDA20--
--- BBBS/NT v4.01 Flag-5
* Origin: Barktopia BBS Site http://HarborWebs.com:8081 (1:379/45)
SEEN-BY: 633/267 270
@PATH: 379/45 1 396/45 106/2000 633/267
|