Metropoli BBS
VIEWER: redo.bat MODE: TEXT (ASCII)
REM********************************************************************
REM**                                                                **
REM** REDO.BAT will assist you in doing bulk bulletin updates.       **
REM** If you use this batch file as is, just type in :               **
REM**   redo 1 2 3 4 5 6 7                                           **
REM**                                                                **
REM** This will redo bulletins 1 thru 7, any number is acceptable    **
REM** and the DOS limit is the only limit as to how many can be      **
REM** redone with this file.                                         **
REM**                                                                **
REM** If you wish to change the More prompt default of NO, remove    **
REM** line 28 and take out the REM.  To have it specify Y/N PER      **
REM** BULLETIN, take out lines 28 & 29 then remove the REM in the    **
REM** NEW lines 28 & 29.  Then the systax for the REDO will be :     **
REM**                                                                **
REM**   REDO 1 y 2 y 3 n 4 y 5 n 6 y 7 y                             **
REM**                                                                **
REM** This will do bulletins 1 thru 7 with more prompts placed in    **
REM** according to the parameter AFTER the bulletin number.          **
REM**                                                                **
REM********************************************************************

@echo off
cls
if "%1"=="" goto parms
:nextone
if "%1"=="" goto done
bullet bullet%1 n
REM bullet bullet%1 y
REM bullet bullet%1 %2
REM shift
shift
goto nextone
:parms
cls
echo Format must be as follows :
echo                  redo bullname bullname ... ...
echo 
goto end
:done
cls
echo 
echo Your bulletins are now complete.
:end
echo on
[ RETURN TO DIRECTORY ]