home *** CD-ROM | disk | FTP | other *** search
/ Powerdrive 1998 March / POWERDRIVE0398.BIN / share / dos / anwend / es-kfz / _kfz153.exe / DOKU.BAT < prev    next >
DOS Batch File  |  1997-12-01  |  2KB  |  53 lines

  1. @echo off
  2. REM ┌─────────────────────────────────────────────────────────────────────────┐
  3. REM │  DOKU               Batchdatei von E. Schuster      (C) Copyright 1997  │
  4. REM │                                                                         │
  5. REM │  Aufruf: DOKU       Listet die Dokumentation auf                        │
  6. REM └─────────────────────────────────────────────────────────────────────────┘
  7. cls
  8. if not exist list.exe goto nolist
  9. if not exist KFZ153.TXT goto nodoc
  10. if '%1' == 'print' goto print
  11. if '%1' == 'PRINT' goto print
  12. list KFZ153.TXT
  13. if '%1' == 'quiet' goto end
  14. if '%1' == 'QUIET' goto end
  15. cls
  16. echo.
  17. echo Zum Drucken der Dokumentation geben Sie bitte folgendes ein:
  18. echo.
  19. echo         "doku print"
  20. echo oder
  21. echo         "print KFZ153.TXT"
  22. echo oder
  23. echo         "type KFZ153.TXT > PRN"
  24. echo oder
  25. echo         "type KFZ153.TXT > LPT1"
  26. echo.
  27. echo Bitte weiter mit irgendeiner Taste...
  28. pause >NUL
  29. goto end
  30. :print
  31. echo.
  32. echo Bitte den Drucker bereitstellen und dann irgendeine Taste betätigen...
  33. echo (Abbrechen mit der Tastenkombination 'Strg+C' bzw. 'Ctrl+C')
  34. echo.
  35. pause >nul
  36. type KFZ153.TXT > prn
  37. echo   > prn
  38. goto end
  39. :nolist
  40. echo.
  41. echo Der Dateilister 'LIST.EXE' ist nicht vorhanden!
  42. echo.
  43. goto end
  44. :nodoc
  45. echo.
  46. echo Die Dokumentation 'KFZ153.TXT' ist nicht vorhanden!
  47. echo.
  48. :end
  49. echo.
  50. REM ┌─────────────────────────────────────────────────────────────────────────┐
  51. REM │                       Ende der Batchdatei 'DOKU'                        │
  52. REM └─────────────────────────────────────────────────────────────────────────┘
  53.