Greetings, Gluszczak, Glenn!
> Sorry it's a Windows defect. Builtin CMD echo does not set an errorlevel.
Since it is a documented effect, it's a feature.
Internal commands do not set %ERRORLEVEL%.
> -Original Message-
> From: Gluszczak, Glenn
> Sent: Thursday, September 22, 2016 2:48 P
Sorry it's a Windows defect. Builtin CMD echo does not set an errorlevel.
Glenn
-Original Message-
From: Gluszczak, Glenn
Sent: Thursday, September 22, 2016 2:48 PM
To: 'cygwin@cygwin.com'
Subject: Errorlevel
Is this a known defect? The errorlevel of the ls command is passed to the e
In appereance it happens with standard DOS commands too:
C:\windows\system32>dir foo
Directorio de C:\windows\system32
No se encuentra el archivo
C:\windows\system32>echo %errorlevel%
1
C:\windows\system32>ls foo
ls: cannot access 'foo': No such file or directory
C:\windows\system32>echo %e
Greetings, paul.hermeneu...@gmail.com!
> I am using CYGWIN_NT-5.1 PAC047922 1.7.25(0.270/5/3) 2013-08-31 20:39
> i686 Cygwin
> An exit code returned by a DOS batch file does not seem to be coming
> back to the Cygwin shell. I am using bash.
> $ cat myexit.bat
> @echo off
> set EXITCODE=%1
> echo
On 10/11/2013 11:53 AM, Christopher Faylor wrote:
On Fri, Oct 11, 2013 at 10:42:47AM -0400, Earnie Boyd wrote:
On Fri, Oct 11, 2013 at 10:35 AM, Nellis, Kenneth wrote:
From: Larry Hall (Cygwin)
On 10/11/2013 8:27 AM, paul hermeneutic wrote:
I am using CYGWIN_NT-5.1 PAC047922 1.7.25(0.270/5/3)
On Fri, Oct 11, 2013 at 10:42:47AM -0400, Earnie Boyd wrote:
>On Fri, Oct 11, 2013 at 10:35 AM, Nellis, Kenneth wrote:
>>> From: Larry Hall (Cygwin)
>>>
>>> On 10/11/2013 8:27 AM, paul hermeneutic wrote:
>>> > I am using CYGWIN_NT-5.1 PAC047922 1.7.25(0.270/5/3) 2013-08-31 20:39
>>> > i686 Cygwin
>
On Fri, Oct 11, 2013 at 10:35 AM, Nellis, Kenneth wrote:
>> From: Larry Hall (Cygwin)
>>
>> On 10/11/2013 8:27 AM, paul hermeneutic wrote:
>> > I am using CYGWIN_NT-5.1 PAC047922 1.7.25(0.270/5/3) 2013-08-31 20:39
>> > i686 Cygwin
>> >
>> > An exit code returned by a DOS batch file does not seem to
> From: Larry Hall (Cygwin)
>
> On 10/11/2013 8:27 AM, paul hermeneutic wrote:
> > I am using CYGWIN_NT-5.1 PAC047922 1.7.25(0.270/5/3) 2013-08-31 20:39
> > i686 Cygwin
> >
> > An exit code returned by a DOS batch file does not seem to be coming
> > back to the Cygwin shell. I am using bash.
> >
On 10/11/2013 8:27 AM, paul.hermeneu...@gmail.com wrote:
I am using CYGWIN_NT-5.1 PAC047922 1.7.25(0.270/5/3) 2013-08-31 20:39
i686 Cygwin
An exit code returned by a DOS batch file does not seem to be coming
back to the Cygwin shell. I am using bash.
$ cat myexit.bat
@echo off
set EXITCODE=%1
e
9 matches
Mail list logo