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   [138 / 250] RSS
 From   To   Subject   Date/Time 
Message   Visitor    All   EL.BAT   October 13, 1995
 12:40 AM *  

Bat Magic disappeared from this BBS for a few days, then re-appeared
with a new message base lineup. I hope I didn't miss any good batch
file solutions!
-+-[Cut here]----------------------------------------------------------
rz
B00000000000000
@ECHO OFF
:: To check and display the errorlevel returned by a program
:: Posted in Batpower 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=
goto end

:usage
echo.
echo To check and display the errorlevel returned by a program
echo Type %0 followed by:
echo    Program_Name Parameters ... ...
echo.
echo You may also type %0 all by itself, after running any program.
echo.

:END


/?
/h
/

361-4041             Welcome to the Hotel California             Prattville, AL
       You can call anytime you like BUT you'll never wanna leave!!
               VirtualNet       WithoutaNet       SlayerNet
  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.0127 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