[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: OZONE and Windows - some hints



On Tue, 22 Aug 2000, Andreas Kasparz wrote:
> Falko Braeutigam wrote:
> > > o Many of the batch-files uses a 'exit /B ...' construct. This
> > >   construct isn't portable - under WIN NT this results in a
> > >   'syntax error', under WIN 95 this results in a 'unknown option /B'.
> > What solution do you propose?
> 
> Use simply 'exit' - no more ;-)
> And another error is in 'ozone.bat':
> 
> The line:
> 
>   if %ERRORLEVEL% NEQ 0 exit /B %ERRORLEVEL%
> 
> should be:
> 
>   if not %ERRORLEVEL% == 0 exit
is this is portable over all win system?


Falko
-- 
______________________________________________________________________
Falko Braeutigam                              mailto:falko@smb-tec.com
SMB GmbH                                        http://www.smb-tec.com