AT2k Design BBS Message Area
Casually read the BBS message area using an easy to use interface. Messages are categorized exactly like they are on the BBS. You may post new messages or reply to existing messages!

You are not logged in. Login here for full access privileges.

Previous Message | Next Message | Back to BAT Magic  <--  <--- Return to Home Page
   Local Database  BAT Magic   [136 / 250] RSS
 From   To   Subject   Date/Time 
Message   Joe    Visitor   Errorlevel Return   October 7, 1995
 5:50 PM *  

Regarding The Subject Of:� Errorlevel Return
 �������������������������                                                      

These are your words� ������������������������
 ��������������������
@ECHO OFF
:: To check and display the errorlevel returned by a program
:: Originally posted by PETER LOVELL
:: Origin: Kakadu Konnection - Darwin Multiline TBBS (3:850/111)
:start
if "%1"=="/?" goto usage
set n=
call %1 %2 %3 %4 %5 %6 %7 %8 %9
FOR %%A IN (0 1) DO IF ERRORLEVEL %%A00 SET N=%%A
FOR %%A IN (0 1 2 3 4 5 6 7 8 9) DO IF ERRORLEVEL %N%%%A0 SET N=%N%%%A
FOR %%A IN (0 1 2 3 4) DO IF ERRORLEVEL 2%%A0 SET N=2%%A
FOR %%A IN (0 1 2 3 4 5 6 7 8 9) DO IF ERRORLEVEL %N%%%A SET N=%N%%%A
FOR %%A IN (0 1 2 3 4 5) DO IF ERRORLEVEL 25%%A SET N=25%%A
ECHO ERRORLEVEL is %N%
set n=
This is my response� ������������������������
 �������������������
What about this....?

@echo off
rem ERRVAR.BAT to convert an ERRORLEVEL to an environment variable
rem from PC Mag. 1-30-90 & IBID 2-13-90 as revised J. Kron
set E=
for %%Q in (0 1 2) do if errorlevel %%Q00 set E=%%Q
if not "%E%"=="2" set LIST=6 7 8 9
for %%Q in (0 1 2 3 4 5 %LIST%) do if errorlevel %E%%%Q0 set E=%E%%%Q
set LIST=
if not "%E%"=="25" set LIST=6 7 8 9
for %%Q in (0 1 2 3 4 5 %LIST%) do if errorlevel %E%%%Q set E=%E%%%Q
set LIST=
  Show ANSI Codes | Hide BBCodes | Show Color Codes | Hide Encoding | Hide HTML Tags | Show Routing
Previous Message | Next Message | Back to BAT Magic  <--  <--- Return to Home Page

VADV-PHP
Execution Time: 0.0156 seconds

If you experience any problems with this website or need help, contact the webmaster.
VADV-PHP Copyright © 2002-2024 Steve Winn, Aspect Technologies. All Rights Reserved.
Virtual Advanced Copyright © 1995-1997 Roland De Graaf.
v2.1.241108