Re: WSCRIPT.EXE does not set ERRORLEVEL
- From: "asdf" <asdf@xxxxxxxx>
- Date: Fri, 17 Nov 2006 03:09:44 -0500
Syntax !
"Krzysztof Żelechowski" <yecril71pl@xxxxxxxxxxxxxxxx> wrote in message
news:27EE8178-61A8-4C31-B468-987C7AFC3E93@xxxxxxxxxxxxxxxx
not.
"Bill Stewart" wrote:
Krzysztof Żelechowski wrote:
I have noticed that cscript.exe sets ERRORLEVEL but wscript.exe does
doesWhy is that?
It works for me here...
Test.cmd:
@echo off
wscript Test.js
echo %ERRORLEVEL%
Test.js:
WScript.Quit(1);
When I run Test.cmd, I get "1" as output.
Now it is even stranger. It works when run from a shell script but it
not work when entered from the command line.
Chris
.
- References:
- Re: WSCRIPT.EXE does not set ERRORLEVEL
- From: Bill Stewart
- Re: WSCRIPT.EXE does not set ERRORLEVEL
- Prev by Date: Re: Start Disabled Service
- Next by Date: Re: Protecting a script
- Previous by thread: Re: WSCRIPT.EXE does not set ERRORLEVEL
- Next by thread: Re: run WSH scripts on net share
- Index(es):
Relevant Pages
|
|