home *** CD-ROM | disk | FTP | other *** search
- ECHO OFF
- CLS
- IF NOT EXIST %3\AttrTran.LST GOTO DONTUPDT
- IF EXIST %3\AttrData.DAT GOTO DONTCREAT
- %2\BL\System\AttrUpdt -c -e %3\AttrData <%3\AttrTran.LST
- GOTO DONEUPDT
- :DONTCREAT
- %2\BL\System\AttrUpdt -e %3\AttrData <%3\AttrTran.LST
- :DONEUPDT
- DEL %3\AttrTran.LST >nul
- :DONTUPDT
- IF NOT EXIST %3\AttrData.DAT GOTO NOATTS
- IF NOT %1==E GOTO NOTEDIT
- %2\BL\System\AttrEdit -b %4 %3\AttrData
- GOTO COMPLETE
- :NOTEDIT
- IF NOT %1==S GOTO NOTSELE
- %2\BL\System\AttrSele -b %4 -s %2\BL\System\AttrPick %3\AttrData
- GOTO COMPLETE
- :NOTSELE
- IF NOT %1==P GOTO NOTPRIN
- %2\BL\System\AttrPrin -a %3\AttrData >%4
- GOTO COMPLETE
- :NOTPRIN
- IF NOT %1==U GOTO NOTUPDT
- GOTO COMPLETE
- :NOTUPDT
- CLS
- ECHO Incorrect option selected during Attribute Management
- PAUSE
- GOTO COMPLETE
- :CORRUPT
- CLS
- ECHO Program exit shows corrupt attribute database.
- ECHO Error: Please restore backup Attribute files.
- PAUSE
- GOTO COMPLETE
- :NOATTS
- CLS
- ECHO No Attribute file to edit
- PAUSE
- :COMPLETE