Re: WSCRIPT.EXE does not set ERRORLEVEL
- From: "Todd Vargo" <tlvargo@xxxxxxxxxxxxxx>
- Date: Tue, 7 Nov 2006 19:49:41 -0500
"Krzysztof Żelechowski" <yecril71pl@xxxxxxxxxxxxxxxx> wrote in message
news:D62C856D-4E92-4F2E-8D1E-3A20A7C0C1DD@xxxxxxxxxxxxxxxx
I have noticed that cscript.exe sets ERRORLEVEL but wscript.exe does not.
Why is that?
Wscript.exe is intended for double clicking a script. Cscript is intended
for use within batch files. Exit codes are returned to batch files, hence,
cscript is the logical host that should return an exit code.
.
- Prev by Date: Re: Copying Files
- Next by Date: Re: WSCRIPT.EXE does not set ERRORLEVEL
- Previous by thread: undeclared ExecuteGlobal
- Next by thread: Re: WSCRIPT.EXE does not set ERRORLEVEL
- Index(es):
Relevant Pages
|