home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Black Box 4
/
BlackBox.cdr
/
bbs_mail
/
acc_0110.arj
/
BATCH.BAT
< prev
next >
Wrap
DOS Batch File
|
1991-12-08
|
2KB
|
80 lines
@ECHO OFF
SHIFT
MEM
REM This batchfile is called from ACCOUNT, when a remindment was writen.
REM
REM ACCOUNT gives the fallowed cmd-parameters to this batch:
REM
REM
REM %0 Whitch remindment-class. (0-4)
REM
REM %1 Users first name. (Spaces are replaced with a underscore "_")
REM
REM %2 Users second name. (Spaces are replaced with a underscore "_")
REM
REM %3 The fido address of the user.
REM
REM %4 The date when the last payment of the user normaly was payable.
REM
REM %5 The date, when the last payment of the user was received.
REM
REM %6 The amount of the users last payment.
REM
REM %7 The date, when the next payment will be due.
REM
REM %8 The cost for one month.
REM
REM %9 The actuall account of the user in days.
REM
IF %0/==/ GOTO ERROR
IF %0==0 GOTO RECEIPT
IF %0==1 GOTO FIRST
IF %0==2 GOTO SECOND
IF %0==3 GOTO THIRD
IF %0==4 GOTO FOURTH
ECHO NOTHING
GOTO ENDE
:RECEIPT
REM
REM Insert the program, whitch you want to call with the needed parameters.
REM
GOTO ENDE
:FIRST
REM
REM Insert the program, whitch you want to call with the needed parameters.
REM
GOTO ENDE
:SECOND
REM
REM Insert the program, whitch you want to call with the needed parameters.
REM
GOTO ENDE
:THIRD
REM
REM Insert the program, whitch you want to call with the needed parameters.
REM
REM D:\DB\ACCOUNT\DISABLE %1 %2 %3
GOTO ENDE
:FOURTH
REM
REM Insert the program, whitch you want to call with the needed parameters.
REM
REM D:\DB\ACCOUNT\KILLUSER %1 %2 %3
GOTO ENDE
:ERROR
ECHO BATCH.BAT is called from ACCOUNT after writing of remindments autmatical.
ECHO Dont use it manuel.
:ENDE