home *** CD-ROM | disk | FTP | other *** search
/ Inside Multimedia 1995 October / IMM1095.ISO / share / dfue / tullicom / tcbbslib / update.bat < prev   
DOS Batch File  |  1995-04-26  |  2KB  |  69 lines

  1. @echo off
  2. if %1*==* goto SYNTAX
  3. if not exist %1\nul goto DIR_NOT_EXIST
  4. if not exist %1\tullicom.exe goto DIR_WRONG
  5.  
  6. cls
  7. echo.
  8. echo ████████╗ ██╗   ██╗ ██╗      ██╗      ██╗ ███████╗  ██████╗  ███████╗ ████████╗
  9. echo ╚══██╔══╝ ██║   ██║ ██║      ██║      ██║ ██╔════╝ ██╔═══██╗ ██╔════╝ ╚══██╔══╝
  10. echo    ██║    ██║   ██║ ██║      ██║      ██║ ███████╗ ██║   ██║ █████╗      ██║
  11. echo    ██║    ██║   ██║ ██║      ██║      ██║ ╚════██║ ██║   ██║ ██╔══╝      ██║
  12. echo    ██║    ╚██████╔╝ ███████╗ ███████╗ ██║ ███████║ ╚██████╔╝ ██║         ██║
  13. echo    ╚═╝     ╚═════╝  ╚══════╝ ╚══════╝ ╚═╝ ╚══════╝  ╚═════╝  ╚═╝         ╚═╝
  14. echo                                                            by bits'n'chips !
  15. echo.
  16. echo.
  17. echo.      ░░░▒▒▒▓▓▓████ Mailbox-Bibliothek aktualisieren... ████▓▓▓▒▒▒░░░
  18. echo.
  19. echo.
  20. echo Kopiere Mailbox-Bibliothek. Bitte warten...
  21. copy expand.ex_ %1\expand.exe
  22. copy *.db_ %1
  23. del %1\bbslist.db?
  24.  
  25. echo Bibliothek wird entpackt...
  26. %1\expand -r %1\bbslst_d.db_
  27. %1\expand -r %1\bbslst_t.db_
  28. ren %1\bbslst_d.dbf bbslist.dbf
  29. ren %1\bbslst_t.dbt bbslist.dbt
  30. del %1\*.db_
  31. del %1\expand.exe
  32.  
  33. echo Installation der Mailbox-Bibliothek beendet.
  34. goto EXIT
  35.  
  36. :DIR_NOT_EXIST
  37. cls
  38. echo Parameter-Fehler!
  39. echo.
  40. echo Das Verzeichnis %1 existiert nicht!
  41. echo Bitte geben Sie das korrekte TulliCom-Verzeichnis an.
  42. goto EXIT
  43.  
  44. :DIR_WRONG
  45. cls
  46. echo Parameter-Fehler!
  47. echo.
  48. echo Das angegebene Verzeichnis %1
  49. echo ist nicht das TulliCom-Verzeichnis!
  50. goto EXIT
  51.  
  52. :SYNTAX
  53. cls
  54. echo Syntax-Fehler!
  55. echo.
  56. echo Bitte rufen Sie diese Routine folgendermassen auf:
  57. echo.
  58. echo        install [TulliCom-Verzeichnis]
  59. echo.
  60. echo wobei Sie für [TulliCom-Verzeichnis] bitte das Verzeichnis angeben, in
  61. echo dem TulliCom installiert wurde, also z.B.:
  62. echo.
  63. echo        install c:\tullicom
  64.  
  65. :EXIT
  66. echo.
  67. echo Bitte eine Taste drücken...
  68. pause > nul
  69.